summaryrefslogtreecommitdiff
path: root/MsgPopup/Src/Common.h
diff options
context:
space:
mode:
authormataes2007 <mataes2007@e753b5eb-9565-29b2-b5c5-2cc6f99dfbcb>2012-05-08 09:56:10 +0000
committermataes2007 <mataes2007@e753b5eb-9565-29b2-b5c5-2cc6f99dfbcb>2012-05-08 09:56:10 +0000
commitc91a1aaed9220ab9d4f93750a53ffb2efaf7c662 (patch)
tree50f97bc7bd36935655b096f01a498a6ac0b679a9 /MsgPopup/Src/Common.h
parent7b9d934638fb2dd8a09068bcfec390975c60f94e (diff)
added MsgPopup plugin
git-svn-id: http://miranda-plugins.googlecode.com/svn/trunk@300 e753b5eb-9565-29b2-b5c5-2cc6f99dfbcb
Diffstat (limited to 'MsgPopup/Src/Common.h')
-rw-r--r--MsgPopup/Src/Common.h51
1 files changed, 51 insertions, 0 deletions
diff --git a/MsgPopup/Src/Common.h b/MsgPopup/Src/Common.h
new file mode 100644
index 0000000..14a38f1
--- /dev/null
+++ b/MsgPopup/Src/Common.h
@@ -0,0 +1,51 @@
+/*
+
+MessagePopup - replacer of MessageBox'es
+
+Copyright 2004 Denis Stanishevskiy
+
+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.
+
+*/
+#include <windows.h>
+
+#include "newpluginapi.h"
+#include "m_system.h"
+#include "m_database.h"
+#include "m_langpack.h"
+#include "m_clist.h"
+#include "m_options.h"
+#include "m_utils.h"
+#include "m_popup.h"
+
+#include "..\Resource.h"
+#include "..\Version.h"
+
+#define SERVICENAME "MessagePopup"
+
+struct MSGBOXOPTIONS
+{
+ COLORREF FG[4];
+ COLORREF BG[4];
+ int Timeout[4];
+ BOOL Sound;
+};
+
+extern MSGBOXOPTIONS options;
+extern MSGBOXOPTIONS optionsDefault;
+
+extern BOOL CALLBACK OptionsDlgProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam);
+
+void LoadConfig(); \ No newline at end of file