summaryrefslogtreecommitdiff
path: root/Plugins/smcnotify/menu.h
diff options
context:
space:
mode:
authorpescuma <pescuma@c086bb3d-8645-0410-b8da-73a8550f86e7>2011-10-10 01:39:18 +0000
committerpescuma <pescuma@c086bb3d-8645-0410-b8da-73a8550f86e7>2011-10-10 01:39:18 +0000
commite9bf8a6e2d782dc480fb97cb59928c8cfe1dd777 (patch)
tree12bb8ebaab13ef1476ce9343482796c901ee0130 /Plugins/smcnotify/menu.h
parentf574681d9b6fee0d05319af1831620e48cc8492f (diff)
Moved files from BerliOS
git-svn-id: http://pescuma.googlecode.com/svn/trunk/Miranda@229 c086bb3d-8645-0410-b8da-73a8550f86e7
Diffstat (limited to 'Plugins/smcnotify/menu.h')
-rw-r--r--Plugins/smcnotify/menu.h42
1 files changed, 42 insertions, 0 deletions
diff --git a/Plugins/smcnotify/menu.h b/Plugins/smcnotify/menu.h
new file mode 100644
index 0000000..7b60839
--- /dev/null
+++ b/Plugins/smcnotify/menu.h
@@ -0,0 +1,42 @@
+/*
+Status Message Change Notify plugin for Miranda IM.
+
+Copyright © 2004-2005 NoName
+Copyright © 2005-2006 Daniel Vijge, Tomasz Słotwiński, Ricardo Pescuma Domenecci
+
+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; if not, write to the Free Software
+Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+*/
+
+#ifndef __SMCNOTIFY_MENU_H
+#define __SMCNOTIFY_MENU_H
+
+void LoadIcons();
+void InitMenuItems();
+int PreBuildCMenu(WPARAM wParam, LPARAM lParam);
+
+int MenuItemCmd_PopUps(WPARAM wParam, LPARAM lParam);
+int MenuItemCmd_ShowList(WPARAM wParam, LPARAM lParam);
+int MenuItemCmd_GoToURL(WPARAM wParam, LPARAM lParam);
+
+#define ICONCOUNT 6
+HANDLE hLibIcons[ICONCOUNT];
+#define ICO_POPUP_E hLibIcons[0]
+#define ICO_POPUP_D hLibIcons[1]
+#define ICO_LIST hLibIcons[2]
+#define ICO_URL hLibIcons[3]
+#define ICO_HISTORY hLibIcons[4]
+#define ICO_LOG hLibIcons[5]
+
+#endif // __SMCNOTIFY_MENU_H