summaryrefslogtreecommitdiff
path: root/plugins/ShellExt/src/stdafx.h
blob: 65d8b69adfedb15e55c03b7e4b3a49f2b6961f60 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
#define _CRT_SECURE_NO_WARNINGS

#include <windows.h>
#include <CommCtrl.h>
#include <ShlObj.h>
#include <Wincodec.h>

#include <string.h>
#include <stddef.h>

#include <newpluginapi.h>

#include <m_system_cpp.h>
#include <m_protocols.h>
#include <m_protosvc.h>
#include <m_file.h>
#include <m_ignore.h>
#include <m_skin.h>
#include <m_clist.h>
#include <m_langpack.h>
#include <m_options.h>
#include <m_database.h>
#include <win2k.h>

#include "Version.h"

#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);