From ff3e2e1dc74ea1f983a3b95773800de2ac5d7ea2 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 24 Jun 2013 14:11:10 +0000 Subject: custom json parser removed git-svn-id: http://svn.miranda-ng.org/main/trunk@5119 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/WhatsApp/src/main.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'protocols/WhatsApp/src/main.cpp') 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( CallService( - MS_CLIST_RETRIEVE_INTERFACE,0,reinterpret_cast(g_hInstance))); + mir_getCLI(); + json_getJSI(&jsi); PROTOCOLDESCRIPTOR pd = { sizeof(pd) }; pd.szName = "WhatsApp"; -- cgit v1.2.3