blob: 79f1a1e99bdec674dbe88f04540a3b07d32a251b (
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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
|
#ifndef _COMMON_H_
#define _COMMON_H_
#include <windows.h>
#include <process.h>
#include <winsock.h>
#include <wininet.h>
#include <ipexport.h>
#include <icmpapi.h>
#include <commctrl.h>
#include <shlobj.h>
#include <uxtheme.h>
#include <stdio.h>
#include <newpluginapi.h>
#include <m_awaymsg.h>
#include <m_database.h>
#include <m_clistint.h>
#include <m_gui.h>
#include <m_idle.h>
#include <m_icolib.h>
#include <m_langpack.h>
#include <m_netlib.h>
#include <m_NewAwaySys.h>
#include <m_options.h>
#include <m_popup.h>
#include <m_protosvc.h>
#include <m_protocols.h>
#include <m_toptoolbar.h>
#include <m_statusplugins.h>
#include <m_skin.h>
#include <m_utils.h>
#include <m_variables.h>
#include "version.h"
#include "resource.h"
struct CMPlugin : public PLUGIN<CMPlugin>
{
CMPlugin();
bool bMirandaLoaded;
int Load() override;
int Unload() override;
};
struct CFakePlugin : public CMPluginBase
{
CFakePlugin(const char *szModuleName);
};
#include "commonstatus.h"
#include "keepstatus.h"
#include "startupstatus.h"
#include "advancedautoaway.h"
extern CFakePlugin AAAPlugin, KSPlugin, SSPlugin;
extern CMOption<bool> g_AAAEnabled, g_KSEnabled, g_SSEnabled;
int OnCommonOptionsInit(WPARAM wParam, LPARAM);
void InitCommonOptions();
char* StatusModeToDbSetting(int status, const char *suffix);
DWORD StatusModeToProtoFlag(int status);
#endif //_COMMON_H_
|