From 8278b0f406d3e1f1d2d2938b0047f255fa0f2825 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 24 Jun 2013 09:52:51 +0000 Subject: 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 --- plugins/TabSRMM/src/msgdlgutils.cpp | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'plugins/TabSRMM/src/msgdlgutils.cpp') 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) -- cgit v1.2.3