diff options
author | Gluzskiy Alexandr <sss123next@list.ru> | 2009-10-13 05:04:06 +0300 |
---|---|---|
committer | Gluzskiy Alexandr <sss123next@list.ru> | 2009-10-13 05:04:06 +0300 |
commit | 227022d9ed977c75196725502847e0b371e4e879 (patch) | |
tree | 6fe79f5ae836fe4a974db459553eb6b46a1bf8eb /spamfilter/popup.h | |
parent | 23d6d3e482927c13294f204b34ce23c6f445e8ac (diff) |
Diffstat (limited to 'spamfilter/popup.h')
-rw-r--r-- | spamfilter/popup.h | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/spamfilter/popup.h b/spamfilter/popup.h new file mode 100644 index 0000000..c37e8e8 --- /dev/null +++ b/spamfilter/popup.h @@ -0,0 +1,39 @@ +/*
+
+"Spam Filter"-Plugin for Miranda IM
+
+Copyright 2003-2006 Heiko Herkenrath
+
+This program is free software; you can redistribute it and/or
+modify it under the terms of the GNU General Public License
+as published by the Free Software Foundation; either version 2
+of the License, or (at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program ("SpamFilter-License.txt"); if not, write to the Free Software
+Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+*/
+
+#ifndef SF_POPUP_H__
+#define SF_POPUP_H__ 1
+
+
+// -- Defines
+#define POPUP_CLASS_SPAM "Spam Alerts" // must not be translated
+
+// -- Prototypes
+void SetPopupMenuItem(BOOL bPopupsActivated, BOOL bGrayItem);
+
+BOOL ShowSpamPopup(const char* pszMsgTypeSection, const char* pszMsgTypeName, const WCHAR* pszCustomUserName, HANDLE hContact, DWORD dwFilterType);
+BOOL IsPopupAvailable(BOOL bAlsoOSD);
+
+void InitPopup(void);
+void UninitPopup(void);
+
+
+#endif // SF_POPUP_H__
|