summaryrefslogtreecommitdiff
path: root/plugins/FavContacts/src/main.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2014-07-20 14:54:37 +0000
committerGeorge Hazan <george.hazan@gmail.com>2014-07-20 14:54:37 +0000
commit91d312baa652df4977bf1195053e28480970e20f (patch)
treea5d55eda73ccba6dd68f3a8711b4764fe6eb5ac6 /plugins/FavContacts/src/main.cpp
parent5163941eb4fcc1e90dcbda60e0a2496b55d36303 (diff)
support for the FavContacts's gadget
git-svn-id: http://svn.miranda-ng.org/main/trunk@9891 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/FavContacts/src/main.cpp')
-rw-r--r--plugins/FavContacts/src/main.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/plugins/FavContacts/src/main.cpp b/plugins/FavContacts/src/main.cpp
index e9847b6821..6051d2ad7c 100644
--- a/plugins/FavContacts/src/main.cpp
+++ b/plugins/FavContacts/src/main.cpp
@@ -20,6 +20,8 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#include "headers.h"
+#include "http_api.h"
+
CLIST_INTERFACE *pcli;
HINSTANCE g_hInst;
@@ -77,6 +79,8 @@ extern "C" __declspec(dllexport) int Load(void)
/////////////////////////////////////////////////////////////////////////////////////
Icon_Register(g_hInst, LPGEN("Favorites"), iconList, SIZEOF(iconList));
+
+ LoadHttpApi();
return 0;
}
@@ -84,6 +88,7 @@ extern "C" __declspec(dllexport) int Unload(void)
{
UninitServices();
UninitMenu();
+ UnloadHttpApi();
if (g_Options.hfntName) DeleteObject(g_Options.hfntName);
if (g_Options.hfntSecond) DeleteObject(g_Options.hfntSecond);