summaryrefslogtreecommitdiff
path: root/protocols/VKontakte/src/vk_proto.h
diff options
context:
space:
mode:
authorSergey Bolhovskoy <elzorfox@ya.ru>2014-10-16 09:15:31 +0000
committerSergey Bolhovskoy <elzorfox@ya.ru>2014-10-16 09:15:31 +0000
commit1f53603a20c3cccc23f001f5e9fcabee97afd100 (patch)
tree6b94e2d5e3498149057d124f41f5f25ffe57bb84 /protocols/VKontakte/src/vk_proto.h
parentf71c05fadaa38b0719f75d8ba5fc26ea230b478e (diff)
VKontakte:
add destroy options for offline chats more processing for kick and invite git-svn-id: http://svn.miranda-ng.org/main/trunk@10795 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/VKontakte/src/vk_proto.h')
-rw-r--r--protocols/VKontakte/src/vk_proto.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/protocols/VKontakte/src/vk_proto.h b/protocols/VKontakte/src/vk_proto.h
index 85208c1f14..181ca23fb0 100644
--- a/protocols/VKontakte/src/vk_proto.h
+++ b/protocols/VKontakte/src/vk_proto.h
@@ -22,6 +22,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define PS_DELETEFRIEND "/DeleteFriend"
#define PS_BANUSER "/BanUser"
#define PS_REPORTABUSE "/ReportAbuse"
+#define PS_DESTROYKICKCHAT "/DestroyKickChat"
#define MAXHISTORYMIDSPERONE 200
#define MAX_RETRIES 10
@@ -237,6 +238,7 @@ struct CVkProto : public PROTO<CVkProto>
INT_PTR __cdecl SvcBanUser(WPARAM hContact, LPARAM);
INT_PTR __cdecl SvcReportAbuse(WPARAM hContact, LPARAM);
INT_PTR __cdecl SvcGetAllServerHistory(WPARAM hContact, LPARAM);
+ INT_PTR __cdecl SvcDestroyKickChat(WPARAM hContact, LPARAM);
void InitMenus();
void UnInitMenus();
int __cdecl OnPreBuildContactMenu(WPARAM hContact, LPARAM);
@@ -343,6 +345,7 @@ private:
CMI_DELETEFRIEND,
CMI_BANUSER,
CMI_REPORTABUSE,
+ CMI_DESTROYKICKCHAT,
CMI_COUNT
};
enum ProtoMenuIndexes {
@@ -392,6 +395,7 @@ private:
void ReloadAvatarInfo(MCONTACT hContact);
MCONTACT FindUser(LONG userid, bool bCreate = false);
+ MCONTACT FindChat(LONG dwUserid);
void SetAllContactStatuses(int status);