summaryrefslogtreecommitdiff
path: root/protocols/VKontakte/src/vk_proto.h
diff options
context:
space:
mode:
authorSergey Bolhovskoy <elzorfox@ya.ru>2014-09-29 09:09:40 +0000
committerSergey Bolhovskoy <elzorfox@ya.ru>2014-09-29 09:09:40 +0000
commit9f8f51ae8bc32ba91d98a2fbd6a652a55241a7d7 (patch)
treedb4f3e5029dfd049e1e832069b701ec7c115f35b /protocols/VKontakte/src/vk_proto.h
parente77a3c5664bf839e5e94d27a9fbc8c8a6e2da51d (diff)
VKontakte:
replace icons for add/remove frendlist menuitems fix ‘Add as frend’ menuitem for chats add ‘Report abuse’ and ‘Ban user’ support version bump git-svn-id: http://svn.miranda-ng.org/main/trunk@10621 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/VKontakte/src/vk_proto.h')
-rw-r--r--protocols/VKontakte/src/vk_proto.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/protocols/VKontakte/src/vk_proto.h b/protocols/VKontakte/src/vk_proto.h
index 8dc68f26d2..9347e5e909 100644
--- a/protocols/VKontakte/src/vk_proto.h
+++ b/protocols/VKontakte/src/vk_proto.h
@@ -20,6 +20,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define PS_VISITPROFILE "/VisitProfile"
#define PS_ADDASFRIEND "/AddAsFriend"
#define PS_DELETEFRIEND "/DeleteFriend"
+#define PS_BANUSER "/BanUser"
+#define PS_REPORTABUSE "/ReportAbuse"
#define MAXHISTORYMIDSPERONE 200
struct CVkProto;
@@ -202,6 +204,8 @@ struct CVkProto : public PROTO<CVkProto>
INT_PTR __cdecl SvcVisitProfile(WPARAM hContact, LPARAM);
INT_PTR __cdecl SvcAddAsFriend(WPARAM hContact, LPARAM);
INT_PTR __cdecl SvcDeleteFriend(WPARAM hContact, LPARAM);
+ INT_PTR __cdecl SvcBanUser(WPARAM hContact, LPARAM);
+ INT_PTR __cdecl SvcReportAbuse(WPARAM hContact, LPARAM);
INT_PTR __cdecl SvcGetAllServerHistory(WPARAM hContact, LPARAM);
void InitMenus();
void UnInitMenus();
@@ -275,6 +279,8 @@ private:
CMI_VISITPROFILE,
CMI_ADDASFRIEND,
CMI_DELETEFRIEND,
+ CMI_BANUSER,
+ CMI_REPORTABUSE,
CMI_COUNT
};
enum ProtoMenuIndexes {
@@ -335,7 +341,11 @@ private:
m_bMarkReadOnReply,
m_bMarkReadOnTyping,
m_bAutoSyncHistory,
- m_bUseLocalTime;
+ m_bUseLocalTime,
+ m_bReportAbuse,
+ m_bClearServerHistory,
+ m_bRemoveFromFrendlist,
+ m_bRemoveFromClist;
LONG m_myUserId;
ptrA m_szAccessToken;