summaryrefslogtreecommitdiff
path: root/protocols/Telegram/src/mt_proto.h
blob: 22f5a5352f81b0177b8ba10444e656657094ed99 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#pragma once

struct CMTProto : public PROTO<CMTProto>
{
	std::unique_ptr<td::ClientManager> client_manager_;

public:
	//////////////////////////////////////////////////////////////////////////////////////
	// Ctors

	CMTProto(const char *protoName, const wchar_t *userName);
	~CMTProto();

	//////////////////////////////////////////////////////////////////////////////////////
	// Virtual functions

	INT_PTR GetCaps(int type, MCONTACT hContact = NULL) override;
	
	int SetStatus(int iNewStatus) override;
};