From 44eadfd2f33bf3ac4cc1c56c773f09e8cf391385 Mon Sep 17 00:00:00 2001 From: Kirill Volinsky Date: Tue, 19 Sep 2017 19:50:57 +0300 Subject: AsSingleWindow: adopted but not working --- plugins/AsSingleWindow/src/Options.h | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 plugins/AsSingleWindow/src/Options.h (limited to 'plugins/AsSingleWindow/src/Options.h') diff --git a/plugins/AsSingleWindow/src/Options.h b/plugins/AsSingleWindow/src/Options.h new file mode 100644 index 0000000000..f7519ed554 --- /dev/null +++ b/plugins/AsSingleWindow/src/Options.h @@ -0,0 +1,31 @@ +#pragma once + +#ifndef _OPTIONS_H +#define _OPTIONS_H + +#define SETTINGSNAME "AsSingleWindow" + +#ifdef UNICODE +#define LPGENSTR LPGENT +#define DBGetString DBGetContactSettingTString +#define DBWriteString DBWriteContactSettingTString +#else +#define LPGENSTR LPGEN +#define DBGetString DBGetContactSettingString +#define DBWriteString DBWriteContactSettingString +#endif + +int InitOptions(WPARAM wParam, LPARAM lParam); +INT_PTR CALLBACK cbOptionsDialog(HWND, UINT, WPARAM, LPARAM); + +void dlgProcessInit(HWND, UINT, WPARAM, LPARAM); +void dlgProcessCommand(HWND, UINT, WPARAM, LPARAM); +void dlgUpdateControls(HWND); + +void optionsLoad(); +void optionsUpdate(HWND); +void optionsSave(); + +#endif + +// end of file \ No newline at end of file -- cgit v1.2.3