blob: 20a5fec2e8c0aaccc3c307595847264e2ebda090 (
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
|
/*
Copyright (c) 2013-14 Miranda NG project (http://miranda-ng.org)
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation version 2
of the License.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#define VK_APP_ID 3917910
#define VKPOLL_MSG_REMOVED 0
#define VKPOLL_MSG_NEWFLAGS 1
#define VKPOLL_MSG_ADDFLAGS 2
#define VKPOLL_MSG_DELFLAGS 3
#define VKPOLL_MSG_ADDED 4
#define VKPOLL_USR_ONLINE 8
#define VKPOLL_USR_OFFLINE 9
#define VKPOLL_CHAT_CHANGED 51
#define VKPOLL_USR_UTN 61
#define VKPOLL_CHAT_UTN 62
#define VKPOLL_RING 70
#define VKFLAG_MSGUNREAD 1 // ñîîáùåíèå íå ïðî÷èòàíî
#define VKFLAG_MSGOUTBOX 2 // èñõîäÿùåå ñîîáùåíèå
#define VKFLAG_MSGREPLIED 4 // íà ñîîáùåíèå áûë ñîçäàí îòâåò
#define VKFLAG_MSGIMPORTANT 8 // ïîìå÷åííîå ñîîáùåíèå
#define VKFLAG_MSGCHAT 16 // ñîîáùåíèå îòïðàâëåíî ÷åðåç ÷àò
#define VKFLAG_MSGFRIENDS 32 // ñîîáùåíèå îòïðàâëåíî äðóãîì
#define VKFLAG_MSGSPAM 64 // ñîîáùåíèå ïîìå÷åíî êàê "Ñïàì"
#define VKFLAG_MSGDELÅTÅD 128 // ñîîáùåíèå óäàëåíî (â êîðçèíå)
#define VKFLAG_MSGFIXED 256 // ñîîáùåíèå ïðîâåðåíî ïîëüçîâàòåëåì íà ñïàì
#define VKFLAG_MSGMEDIA 512 // ñîîáùåíèå ñîäåðæèò ìåäèàêîíòåíò
#if defined(_DEBUG)
#define VK_NODUMPHEADERS 0
#else
#define VK_NODUMPHEADERS NLHRF_NODUMPHEADERS
#endif
struct CVkProto;
extern LIST<CVkProto> vk_Instances;
extern HINSTANCE hInst;
LPCSTR findHeader(NETLIBHTTPREQUEST *hdr, LPCSTR szField);
void InitIcons(void);
HANDLE GetIconHandle(int iCommand);
void MyHtmlDecode(CMStringW &str);
|