mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 17:27:35 +00:00
LibCore: Convert CLocalServer to ObjectPtr
This commit is contained in:
parent
c83da29a9d
commit
953cb4e436
8 changed files with 26 additions and 21 deletions
|
@ -1,17 +1,17 @@
|
|||
#pragma once
|
||||
|
||||
#include "ASMixer.h"
|
||||
#include <LibCore/CEventLoop.h>
|
||||
#include <LibCore/CLocalServer.h>
|
||||
#include <LibCore/CNotifier.h>
|
||||
#include "ASMixer.h"
|
||||
|
||||
class ASEventLoop
|
||||
{
|
||||
class ASEventLoop {
|
||||
public:
|
||||
ASEventLoop();
|
||||
int exec() { return m_event_loop.exec(); }
|
||||
|
||||
private:
|
||||
CEventLoop m_event_loop;
|
||||
CLocalServer m_server_sock;
|
||||
ObjectPtr<CLocalServer> m_server;
|
||||
ASMixer m_mixer;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue