Improve(settings): Save settings to register

This commit is contained in:
yuanyuanxiang
2025-06-18 04:22:48 +08:00
parent c04da3618b
commit 7c7c539305
19 changed files with 252 additions and 149 deletions

View File

@@ -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()