diff options
Diffstat (limited to 'MsgPopup/Src/Common.h')
-rw-r--r-- | MsgPopup/Src/Common.h | 51 |
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 |