summaryrefslogtreecommitdiff
path: root/protocols/WhatsApp/src/main.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-06-24 14:11:10 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-06-24 14:11:10 +0000
commitff3e2e1dc74ea1f983a3b95773800de2ac5d7ea2 (patch)
tree1c1c06d13c8af9b5d9c6db069b4bd8f3a5dc7fc0 /protocols/WhatsApp/src/main.cpp
parent9d62e31863057f847b56e82e3880c4c588c9cb0a (diff)
custom json parser removed
git-svn-id: http://svn.miranda-ng.org/main/trunk@5119 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/WhatsApp/src/main.cpp')
-rw-r--r--protocols/WhatsApp/src/main.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/protocols/WhatsApp/src/main.cpp b/protocols/WhatsApp/src/main.cpp
index 8cff6e9715..13f128bcef 100644
--- a/protocols/WhatsApp/src/main.cpp
+++ b/protocols/WhatsApp/src/main.cpp
@@ -1,5 +1,6 @@
#include "common.h"
+JSONSERVICEINTERFACE jsi;
CLIST_INTERFACE* pcli;
int hLangpack;
@@ -70,9 +71,8 @@ static HANDLE g_hEvents[1];
extern "C" int __declspec(dllexport) Load(void)
{
mir_getLP(&pluginInfo);
-
- pcli = reinterpret_cast<CLIST_INTERFACE*>( CallService(
- MS_CLIST_RETRIEVE_INTERFACE,0,reinterpret_cast<LPARAM>(g_hInstance)));
+ mir_getCLI();
+ json_getJSI(&jsi);
PROTOCOLDESCRIPTOR pd = { sizeof(pd) };
pd.szName = "WhatsApp";