Improve(settings): Save settings to register
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
#endif
|
||||
|
||||
#include "resource.h" // <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
#include "iniFile.h"
|
||||
#include "common/iniFile.h"
|
||||
#include "IOCPServer.h"
|
||||
|
||||
// CMy2015RemoteApp:
|
||||
@@ -20,7 +20,7 @@ class CMy2015RemoteApp : public CWinApp
|
||||
{
|
||||
public:
|
||||
CMy2015RemoteApp();
|
||||
iniFile m_iniFile;
|
||||
config *m_iniFile;
|
||||
HANDLE m_Mutex;
|
||||
IOCPServer* m_iocpServer;
|
||||
// <20><>д
|
||||
@@ -33,4 +33,12 @@ public:
|
||||
virtual int ExitInstance();
|
||||
};
|
||||
|
||||
extern CMy2015RemoteApp theApp;
|
||||
extern CMy2015RemoteApp theApp;
|
||||
|
||||
CMy2015RemoteApp* GetThisApp();
|
||||
|
||||
config& GetThisCfg();
|
||||
|
||||
#define THIS_APP GetThisApp()
|
||||
|
||||
#define THIS_CFG GetThisCfg()
|
||||
|
||||
Reference in New Issue
Block a user