summaryrefslogtreecommitdiff
path: root/plugins/MirFox/src/MirfoxMiranda.h
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/MirFox/src/MirfoxMiranda.h')
-rw-r--r--plugins/MirFox/src/MirfoxMiranda.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/plugins/MirFox/src/MirfoxMiranda.h b/plugins/MirFox/src/MirfoxMiranda.h
index 0bcce0cf99..31cb61f99c 100644
--- a/plugins/MirFox/src/MirfoxMiranda.h
+++ b/plugins/MirFox/src/MirfoxMiranda.h
@@ -5,6 +5,14 @@
#include "MirandaUtils.h"
+class CMirfoxMiranda;
+
+
+struct OnContactAsyncThreadArgStruct {
+ MCONTACT hContact;
+ CMirfoxMiranda* mirfoxMiranda;
+};
+
class CMirfoxMiranda
{
@@ -18,10 +26,20 @@ public:
MirfoxData& getMirfoxData();
+ SharedMemoryUtils& getSharedMemoryUtils();
+
int onMirandaInterfaceLoad();
int onMirandaInterfaceUnload();
+ //hooks support - to refresh data
+ void onAccListChanged(WPARAM wParam, LPARAM lParam);
+ static void onContactAdded_async(void* threadArg); //at async new thread
+ void onContactDeleted(MCONTACT hContact);
+ void onContactSettingChanged(MCONTACT hContact, LPARAM lParam);
+ static void onContactSettingChanged_async(void* threadArg); //at async new thread
+
+
//csm maintanance thread function (threadArg - pointer to this CMirfoxMiranda class instance)
static void csmThread(void* threadArg);