From 698a76547c0784b74218b2ca58dc44ee0c98c3ef Mon Sep 17 00:00:00 2001 From: Kirill Volinsky Date: Wed, 20 Mar 2013 19:15:04 +0000 Subject: starting adopr MsgPopup. git-svn-id: http://svn.miranda-ng.org/main/trunk@4132 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/MsgPopup/src/common.h | 52 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 plugins/MsgPopup/src/common.h (limited to 'plugins/MsgPopup/src/common.h') diff --git a/plugins/MsgPopup/src/common.h b/plugins/MsgPopup/src/common.h new file mode 100644 index 0000000000..fbff74293b --- /dev/null +++ b/plugins/MsgPopup/src/common.h @@ -0,0 +1,52 @@ +/* + +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 +#include +#include + +#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 "options.h" +#include "resource.h" + +#define SERVICENAME "MessagePopup" + +struct MSGBOXOPTIONS +{ + COLORREF FG[4]; + COLORREF BG[4]; + int Timeout[4]; + BOOL Sound; +}; + +extern MSGBOXOPTIONS options; +extern MSGBOXOPTIONS optionsDefault; + +void LoadConfig(); -- cgit v1.2.3