blob: 22c0b4b86d810a907244cf87c2b6b05f2910171b (
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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
|
// stdafx.h : include file for standard system include files,
// or project specific include files that are used frequently, but
// are changed infrequently
//
#pragma once
#ifndef _WIN64
#define _USE_32BIT_TIME_T
#endif
#define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers
#define _HAS_AUTO_PTR_ETC 1
// Windows Header Files:
#include <windows.h>
#include <windowsx.h>
#include <richedit.h>
#include <time.h>
#include <commctrl.h>
#include <commdlg.h>
#include <tom.h>
#include <richole.h>
#include <Shlobj.h>
#include <shellapi.h>
#include <algorithm>
#include <map>
#include <unordered_set>
#include <vector>
#include <queue>
#include <locale>
#include <string>
#include <fstream>
#include <functional>
#include <newpluginapi.h>
#include <m_langpack.h>
#include <m_system.h>
#include <m_clist.h>
#include <m_skin.h>
#include <m_history.h>
#include <m_database.h>
#include <m_icolib.h>
#include <m_timezones.h>
#include <m_contacts.h>
#include <m_protocols.h>
#include <m_button.h>
#include <m_options.h>
#include <m_fontservice.h>
#include <m_hotkeys.h>
#include <m_message.h>
#include <m_protosvc.h>
#include <m_clc.h>
#include <m_utils.h>
#include <m_popup.h>
#include "m_toptoolbar.h"
#include "m_smileyadd.h"
#include "m_metacontacts.h"
struct CMPlugin : public PLUGIN<CMPlugin>
{
CMPlugin();
int Load() override;
int Unload() override;
};
#include "../../libs/zlib/src/zconf.h"
#include "../../libs/zlib/src/ioapi.h"
#include "../../libs/zlib/src/zip.h"
#include "../../libs/zlib/src/unzip.h"
#include "../../libs/zlib/src/iowin32.h"
#include "version.h"
#include "HistoryWindow.h"
#include "resource.h"
#include "Options.h"
#define HISTORY_HK_FIND 100
#define HISTORY_HK_FINDNEXT 101
#define HISTORY_HK_FINDPREV 102
#define HISTORY_HK_MATCHCASE 103
#define HISTORY_HK_MATCHWHOLE 104
#define HISTORY_HK_SHOWCONTACTS 105
#define HISTORY_HK_ONLYIN 106
#define HISTORY_HK_ONLYOUT 107
#define HISTORY_HK_DELETE 108
#define HISTORY_HK_ONLYGROUP 109
#define HISTORY_HK_EXRHTML 110
#define HISTORY_HK_EXPHTML 111
#define HISTORY_HK_EXTXT 112
#define HISTORY_HK_EXBIN 113
#define HISTORY_HK_IMPBIN 114
#define HISTORY_HK_EXDAT 115
#define HISTORY_HK_IMPDAT 116
#define HISTORY_HK_ALLCONTACTS 117
HICON LoadIconEx(int iconId, bool big = false);
#define MODULENAME "BasicHistory"
|