diff options
author | Sergey Bolhovskoy <elzorfox@ya.ru> | 2015-02-25 05:28:10 +0000 |
---|---|---|
committer | Sergey Bolhovskoy <elzorfox@ya.ru> | 2015-02-25 05:28:10 +0000 |
commit | d9342e0a5916cf57df80b4400d7ce3482a94db5e (patch) | |
tree | 136017fbaaef03fd7cd14b4418523b4f95905015 /protocols/VKontakte/src/vk_proto.h | |
parent | 5abf533213e126786cb859be514656a9fb3a514f (diff) |
VKontakte:
small memory leak fix
add status message support
version bump
git-svn-id: http://svn.miranda-ng.org/main/trunk@12262 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/VKontakte/src/vk_proto.h')
-rw-r--r-- | protocols/VKontakte/src/vk_proto.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/protocols/VKontakte/src/vk_proto.h b/protocols/VKontakte/src/vk_proto.h index 3fe57eb15c..babd8f45f2 100644 --- a/protocols/VKontakte/src/vk_proto.h +++ b/protocols/VKontakte/src/vk_proto.h @@ -31,6 +31,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #define PS_REPORTABUSE "/ReportAbuse"
#define PS_DESTROYKICKCHAT "/DestroyKickChat"
#define PS_OPENBROADCAST "/OpenBroadcast"
+#define PS_SETSTATUSMSG "/SetStatusMsg"
#define MAXHISTORYMIDSPERONE 200
#define MAX_RETRIES 10
@@ -319,6 +320,7 @@ struct CVkProto : public PROTO<CVkProto> INT_PTR __cdecl SvcReportAbuse(WPARAM hContact, LPARAM);
INT_PTR __cdecl SvcDestroyKickChat(WPARAM hContact, LPARAM);
INT_PTR __cdecl SvcOpenBroadcast(WPARAM hContact, LPARAM);
+ INT_PTR __cdecl SvcSetStatusMsg(WPARAM, LPARAM);
//==== History Menus ==================================================================
@@ -430,6 +432,7 @@ struct CVkProto : public PROTO<CVkProto> void RetrieveStatusMsg(const CMString &StatusMsg);
void RetrieveStatusMusic(const CMString &StatusMsg);
void OnReceiveStatus(NETLIBHTTPREQUEST*, AsyncHttpRequest*);
+ void OnReceiveStatusMsg(NETLIBHTTPREQUEST*, AsyncHttpRequest*);
MCONTACT SetContactInfo(JSONNODE* Item, bool flag = false, bool self = false);
void RetrieveMyInfo(void);
@@ -511,6 +514,7 @@ private: };
enum ProtoMenuIndexes {
PMI_CREATECHAT,
+ PMI_SETSTATUSMSG,
PMI_LOADVKNEWS,
PMI_VISITPROFILE,
PMI_COUNT
|