refactor: App move m_suspended to the subclasses where its is used
This commit is contained in:
parent
d1b810baa5
commit
0884a267d1
3 changed files with 2 additions and 1 deletions
|
|
@ -114,7 +114,6 @@ public:
|
|||
protected:
|
||||
void runEventsLoop(void *);
|
||||
|
||||
bool m_suspended = false;
|
||||
IEventQueue *m_events = nullptr;
|
||||
|
||||
private:
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue