mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 17:17:44 +00:00
WindowServer: Detach WSMenuManager from WSWindowManager
You can now get to the WSMenuManager via WSMenuManager::the(). Also note that it's initialized after WSWindowManager.
This commit is contained in:
parent
2d75396c94
commit
8ddd053c2a
8 changed files with 41 additions and 39 deletions
|
@ -11,10 +11,11 @@ class AClientConnection;
|
|||
class WSMenuManager final : public CObject {
|
||||
C_OBJECT(WSMenuManager)
|
||||
public:
|
||||
static WSMenuManager& the();
|
||||
|
||||
WSMenuManager();
|
||||
virtual ~WSMenuManager() override;
|
||||
|
||||
void setup();
|
||||
void refresh();
|
||||
|
||||
virtual void event(CEvent&) override;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue