1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
#include "stdafx.h" CMTProto::CMTProto(const char* protoName, const wchar_t* userName) : PROTO<CMTProto>(protoName, userName) { } CMTProto::~CMTProto() { } INT_PTR CMTProto::GetCaps(int type, MCONTACT) { switch (type) { case PFLAG_UNIQUEIDTEXT: return (INT_PTR)"Phone"; } return 0; } int CMTProto::SetStatus(int iNewStatus) { return 0; }