diff options
author | MikalaiR <nikolay.romanovich@narod.ru> | 2016-04-17 19:36:45 +0000 |
---|---|---|
committer | MikalaiR <nikolay.romanovich@narod.ru> | 2016-04-17 19:36:45 +0000 |
commit | 067bd391d5a6d28e250f6e375607be6d667f66bf (patch) | |
tree | 9e27c93ffa4b7a629e3711090c7229203c0e4921 /plugins/AuthState/src/stdafx.h | |
parent | ee2b2967a9d17bd38575dad6ab9a7c0c5d52af2b (diff) |
AuthState: options -> core ui
git-svn-id: http://svn.miranda-ng.org/main/trunk@16708 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/AuthState/src/stdafx.h')
-rw-r--r-- | plugins/AuthState/src/stdafx.h | 33 |
1 files changed, 4 insertions, 29 deletions
diff --git a/plugins/AuthState/src/stdafx.h b/plugins/AuthState/src/stdafx.h index b3fc4a0e4c..356af71def 100644 --- a/plugins/AuthState/src/stdafx.h +++ b/plugins/AuthState/src/stdafx.h @@ -30,46 +30,21 @@ #include <m_options.h>
#include <m_langpack.h>
#include <m_icolib.h>
-#include <m_cluiframes.h>
-#include <win2k.h>
#include <m_extraicons.h>
+#include <m_gui.h>
#include "resource.h"
#include "Version.h"
#define MODULENAME "AuthState"
-struct Opts
-{
- BYTE bUseAuthIcon;
- BYTE bUseGrantIcon;
- BYTE bContactMenuItem;
- BYTE bIconsForRecentContacts;
-
- void Load()
- {
- bUseAuthIcon = db_get_b(NULL, MODULENAME, "EnableAuthIcon", 1);
- bUseGrantIcon = db_get_b(NULL, MODULENAME, "EnableGrantIcon", 1);
- bContactMenuItem = db_get_b(NULL, MODULENAME, "MenuItem", 0);
- bIconsForRecentContacts = db_get_b(NULL, MODULENAME, "EnableOnlyForRecent", 0);
- }
-
- void Save()
- {
- db_set_b(NULL, MODULENAME, "EnableAuthIcon", bUseAuthIcon);
- db_set_b(NULL, MODULENAME, "EnableGrantIcon", bUseGrantIcon);
- db_set_b(NULL, MODULENAME, "MenuItem", bContactMenuItem);
- db_set_b(NULL, MODULENAME, "EnableOnlyForRecent", bIconsForRecentContacts);
- }
-
-};
-
-extern Opts Options;
-
int onOptInitialise(WPARAM wParam, LPARAM lParam);
int onExtraImageApplying(WPARAM wParam, LPARAM lParam);
extern HINSTANCE g_hInst;
extern HANDLE hExtraIcon;
+#include "options.h"
+
+
#endif //COMMHEADERS_H
|