mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-11 18:20:43 +09:00
LibGUI: Reduce menu-related header dependencies
This commit is contained in:
parent
9e83bbe1cd
commit
b011ea9962
Notes:
sideshowbarker
2024-07-19 09:19:30 +09:00
Author: https://github.com/awesomekling
Commit: b011ea9962
16 changed files with 32 additions and 10 deletions
|
@ -26,10 +26,8 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
#include <AK/Badge.h>
|
||||
#include <AK/NonnullOwnPtr.h>
|
||||
#include <AK/OwnPtr.h>
|
||||
#include <AK/String.h>
|
||||
#include <AK/Forward.h>
|
||||
#include <AK/RefPtr.h>
|
||||
|
||||
namespace GUI {
|
||||
|
||||
|
@ -68,8 +66,8 @@ public:
|
|||
bool is_enabled() const { return m_enabled; }
|
||||
void set_enabled(bool);
|
||||
|
||||
void set_menu_id(Badge<Menu>, unsigned menu_id) { m_menu_id = menu_id; }
|
||||
void set_identifier(Badge<Menu>, unsigned identifier) { m_identifier = identifier; }
|
||||
void set_menu_id(Badge<Menu>, unsigned menu_id);
|
||||
void set_identifier(Badge<Menu>, unsigned identifier);
|
||||
|
||||
private:
|
||||
void update_window_server();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue