summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibGUI/DisplayLink.h
blob: 253aa504f83bd946cc15d2c3815553a876c843c2 (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<WindowServerConnection>);
};

}