summaryrefslogtreecommitdiff
path: root/popup.h
diff options
context:
space:
mode:
authorGluzskiy Alexandr <sss123next@gmail.com>2010-02-15 05:51:01 +0300
committerGluzskiy Alexandr <sss123next@gmail.com>2010-02-15 05:51:01 +0300
commit7fd9fe181150f166a098eaf4e006f878c28cb770 (patch)
tree093af9d26a08e6bac60112a9c5f2f870ddef0fe8 /popup.h
parent6f32ef233b95d78efb905c97081193a2a454590e (diff)
sort
Diffstat (limited to 'popup.h')
-rw-r--r--popup.h39
1 files changed, 39 insertions, 0 deletions
diff --git a/popup.h b/popup.h
new file mode 100644
index 0000000..c37e8e8
--- /dev/null
+++ b/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__