summaryrefslogtreecommitdiff
path: root/plugins/ShellExt/src/stdafx.h
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/ShellExt/src/stdafx.h')
-rw-r--r--plugins/ShellExt/src/stdafx.h45
1 files changed, 45 insertions, 0 deletions
diff --git a/plugins/ShellExt/src/stdafx.h b/plugins/ShellExt/src/stdafx.h
new file mode 100644
index 0000000000..f0f47bbb70
--- /dev/null
+++ b/plugins/ShellExt/src/stdafx.h
@@ -0,0 +1,45 @@
+#define _CRT_SECURE_NO_WARNINGS
+
+#include <windows.h>
+#include <CommCtrl.h>
+#include <ShlObj.h>
+
+#include <string>
+
+#include <newpluginapi.h>
+
+#include <m_system_cpp.h>
+#include <m_protocols.h>
+#include <m_langpack.h>
+#include <m_options.h>
+#include <m_database.h>
+#include <win2k.h>
+
+#include "Version.h"
+
+using namespace std;
+
+#define MODULENAME "ShellExt"
+#define SHLExt_Name "shlext15"
+#define SHLExt_MRU "MRU"
+#define SHLExt_UseGroups "UseGroups"
+#define SHLExt_UseCListSetting "UseCLGroups"
+#define SHLExt_UseHITContacts "UseHITContacts"
+#define SHLExt_UseHIT2Contacts "UseHIT2Contacts"
+#define SHLExt_ShowNoProfile "ShowNoProfile"
+#define SHLExt_ShowNoIcons "ShowNoIcons"
+#define SHLExt_ShowNoOffline "ShowNoOffline"
+
+#define COMREG_UNKNOWN 0
+#define COMREG_OK 1
+#define COMREG_APPROVED 2
+
+void CheckRegisterServer();
+void CheckUnregisterServer();
+void InvokeThreadServer();
+int IsCOMRegistered();
+HRESULT RemoveCOMRegistryEntries();
+
+extern HINSTANCE hInst;
+
+int OnOptionsInit(WPARAM wParam, LPARAM lParam);