refactor: App move m_suspended to the subclasses where its is used

This commit is contained in:
sithlord48 2025-07-11 10:37:18 -04:00 committed by Nick Bolton
parent d1b810baa5
commit 0884a267d1
3 changed files with 2 additions and 1 deletions

View file

@ -114,7 +114,6 @@ public:
protected:
void runEventsLoop(void *);
bool m_suspended = false;
IEventQueue *m_events = nullptr;
private:

View file

@ -100,6 +100,7 @@ public:
private:
ISocketFactory *getSocketFactory() const;
bool m_suspended = false;
Client *m_client = nullptr;
deskflow::Screen *m_clientScreen = nullptr;
NetworkAddress *m_serverAddress = nullptr;

View file

@ -129,6 +129,7 @@ private:
std::unique_ptr<ISocketFactory> getSocketFactory() const;
NetworkAddress getAddress(const NetworkAddress &address) const;
bool m_suspended = false;
Server *m_server = nullptr;
EServerState m_serverState = EServerState::kUninitialized;
deskflow::Screen *m_serverScreen = nullptr;