Adding in boost::asio support
main starts a thread that keep a global io_service object running and makes sure it is stopped when everything else is stopped.
This commit is contained in:
parent
a6755c20f2
commit
4beea05ba6
7 changed files with 50 additions and 9 deletions
|
|
@ -2,8 +2,10 @@
|
|||
#define MASTERCONTROLLER_H
|
||||
|
||||
#include <QObject>
|
||||
#include <future>
|
||||
#include <map>
|
||||
|
||||
|
||||
class ConnectionConfig;
|
||||
class ConnectionList;
|
||||
class ConnectionListModel;
|
||||
|
|
@ -30,7 +32,7 @@ public:
|
|||
void openSqlWindowForConnection(int connection_index);
|
||||
void openServerWindowForConnection(int connection_index);
|
||||
void openBackupDlgForConnection(int connection_index);
|
||||
|
||||
|
||||
signals:
|
||||
|
||||
public slots:
|
||||
|
|
@ -39,6 +41,7 @@ private:
|
|||
ConnectionList *m_connectionList = nullptr;
|
||||
ConnectionListModel *m_connectionListModel = nullptr;
|
||||
ConnectionManagerWindow *m_connectionManagerWindow = nullptr;
|
||||
|
||||
};
|
||||
|
||||
#endif // MASTERCONTROLLER_H
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue