Serenity Operating System
at master 22 lines 397 B view raw
1/* 2 * Copyright (c) 2020, Andreas Kling <kling@serenityos.org> 3 * 4 * SPDX-License-Identifier: BSD-2-Clause 5 */ 6 7#pragma once 8 9#include <AK/Forward.h> 10#include <LibGUI/Forward.h> 11 12namespace GUI { 13 14class DisplayLink { 15public: 16 static i32 register_callback(Function<void(i32)>); 17 static bool unregister_callback(i32 callback_id); 18 19 static void notify(Badge<ConnectionToWindowServer>); 20}; 21 22}