summaryrefslogtreecommitdiff
path: root/plugins/TabSRMM/src/msgdlgutils.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-06-24 09:52:51 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-06-24 09:52:51 +0000
commit8278b0f406d3e1f1d2d2938b0047f255fa0f2825 (patch)
tree8de9f0448a1235d5d73cd4b4af0aa8673a9bff9f /plugins/TabSRMM/src/msgdlgutils.cpp
parent04c18aa4ab21f78ddd29fcbdc18afba148f96135 (diff)
automatic displaying custom events in tabSRMM according to their masks
git-svn-id: http://svn.miranda-ng.org/main/trunk@5111 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/TabSRMM/src/msgdlgutils.cpp')
-rw-r--r--plugins/TabSRMM/src/msgdlgutils.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/plugins/TabSRMM/src/msgdlgutils.cpp b/plugins/TabSRMM/src/msgdlgutils.cpp
index 0a3f28e6d6..7b03ab7480 100644
--- a/plugins/TabSRMM/src/msgdlgutils.cpp
+++ b/plugins/TabSRMM/src/msgdlgutils.cpp
@@ -68,6 +68,15 @@ BOOL TSAPI IsStatusEvent(int eventType)
return FALSE;
}
+BOOL TSAPI IsCustomEvent(int eventType)
+{
+ if (eventType == EVENTTYPE_MESSAGE || eventType == EVENTTYPE_URL || eventType == EVENTTYPE_CONTACTS ||
+ eventType == EVENTTYPE_ADDED || eventType == EVENTTYPE_AUTHREQUEST || eventType == EVENTTYPE_FILE)
+ return FALSE;
+
+ return TRUE;
+}
+
/*
* reorder tabs within a container. fSavePos indicates whether the new position should be saved to the
* contacts db record (if so, the container will try to open the tab at the saved position later)