summaryrefslogtreecommitdiff
path: root/plugins/FavContacts/src/headers.h
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2014-07-08 12:14:56 +0000
committerGeorge Hazan <george.hazan@gmail.com>2014-07-08 12:14:56 +0000
commitac13aa1584ca595da727308406c87ec1bd9f5a21 (patch)
tree2cbda67ad0e66eec4614643c6b0a91f2584c4484 /plugins/FavContacts/src/headers.h
parentabebf2658d6cb4c879f0952b77a576733494c96f (diff)
FavContacts:
- broken group functionality restored; - metacontacts support (patch by bio); - built-in http server wiped out; - optimized memory usage; - version bump git-svn-id: http://svn.miranda-ng.org/main/trunk@9730 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/FavContacts/src/headers.h')
-rw-r--r--plugins/FavContacts/src/headers.h31
1 files changed, 27 insertions, 4 deletions
diff --git a/plugins/FavContacts/src/headers.h b/plugins/FavContacts/src/headers.h
index f705c9a5d1..bf6bda4158 100644
--- a/plugins/FavContacts/src/headers.h
+++ b/plugins/FavContacts/src/headers.h
@@ -32,6 +32,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#include <newpluginapi.h>
#include <m_system_cpp.h>
#include <m_database.h>
+#include <m_db_int.h>
#include <m_langpack.h>
#include <m_clist.h>
#include <m_clistint.h>
@@ -45,15 +46,18 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#include <m_avatars.h>
#include <m_fontservice.h>
#include <m_hotkeys.h>
-
+#include <m_metacontacts.h>
#include <m_toptoolbar.h>
#include "resource.h"
#include "version.h"
#include "contact_cache.h"
-#include "http_api.h"
-#include "csocket.h"
-#include "cserver.h"
+
+/////////////////////////////////////////////////////////////////////////////////////////
+
+#define MS_FAVCONTACTS_SHOWMENU "FavContacts/ShowMenu"
+#define MS_FAVCONTACTS_SHOWMENU_CENTERED "FavContacts/ShowMenuCentered"
+#define MS_FAVCONTACTS_OPEN_CONTACT "FavContacts/OpenContact"
struct Options
{
@@ -77,4 +81,23 @@ struct Options
extern Options g_Options;
extern CContactCache *g_contactCache;
+
#include "favlist.h"
+
+BOOL MenuDrawItem(LPDRAWITEMSTRUCT lpdis, Options *options = NULL);
+BOOL MenuMeasureItem(LPMEASUREITEMSTRUCT lpmis, Options *options = NULL);
+
+int ProcessOptInitialise(WPARAM, LPARAM);
+int ProcessModulesLoaded(WPARAM, LPARAM);
+
+void LoadOptions();
+int ShowMenu(bool centered);
+
+void InitMenu();
+void UninitMenu();
+
+void InitServices();
+void UninitServices();
+
+extern HINSTANCE g_hInst;
+extern IconItem iconList[];