summaryrefslogtreecommitdiff
path: root/protocols/Telegram/src/stdafx.h
blob: 8b583a6cba51e63214f7e070cd05e2fd49640c54 (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
#ifndef _COMMON_H_
#define _COMMON_H_

#include <malloc.h>
#include <time.h>
#include <windows.h>

#include <algorithm>
#include <map>
#include <memory>

#include <newpluginapi.h>

#include <m_protoint.h>
#include <m_protosvc.h>

#include <m_avatars.h>
#include <m_clist.h>
#include <m_chat_int.h>
#include <m_contacts.h>
#include <m_database.h>
#include <m_extraicons.h>
#include <m_history.h>
#include <m_icolib.h>
#include <m_json.h>
#include <m_langpack.h>
#include <m_message.h>
#include <m_messagestate.h>
#include <m_netlib.h>
#include <m_NewStory.h>
#include <m_options.h>
#include <m_popup.h>
#include <m_skin.h>
#include <m_smileyadd.h>
#include <m_timezones.h>

#include "../../libs/freeimage/src/FreeImage.h"

#include "td/telegram/Client.h"
#include "td/telegram/td_api.h"
#include "td/telegram/td_api.hpp"
namespace TD = td::td_api;

#define MODULE "Telegram"

#include "version.h"
#include "resource.h"
#include "proto.h"
#include "utils.h"

struct CMPlugin : public ACCPROTOPLUGIN<CTelegramProto>
{
	CMPlugin();

	bool hasMessageState = false, hasNewStory = false;
	HANDLE m_hIcon = 0;

	int Load() override;
};

#endif //_COMMON_H_