summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibGUI/DisplayLink.h
blob: 81da42e9cb0691d2496c1883337e4c7ff98326d6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/*
 * Copyright (c) 2020, Andreas Kling <kling@serenityos.org>
 *
 * SPDX-License-Identifier: BSD-2-Clause
 */

#pragma once

#include <AK/Forward.h>
#include <LibGUI/Forward.h>

namespace GUI {

class DisplayLink {
public:
    static i32 register_callback(Function<void(i32)>);
    static bool unregister_callback(i32 callback_id);

    static void notify(Badge<ConnectionToWindowServer>);
};

}