From 7d5be7defe163d9310b98d621dc0de29116a08df Mon Sep 17 00:00:00 2001 From: Kirill Volinsky Date: Sat, 25 Jul 2015 19:18:08 +0000 Subject: MsgPopup: common project git-svn-id: http://svn.miranda-ng.org/main/trunk@14701 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/MsgPopup/src/common.h | 51 ---------------------------------------- plugins/MsgPopup/src/main.cpp | 2 +- plugins/MsgPopup/src/options.cpp | 2 +- plugins/MsgPopup/src/stdafx.cpp | 18 -------------- plugins/MsgPopup/src/stdafx.cxx | 18 ++++++++++++++ plugins/MsgPopup/src/stdafx.h | 51 ++++++++++++++++++++++++++++++++++++++++ 6 files changed, 71 insertions(+), 71 deletions(-) delete mode 100644 plugins/MsgPopup/src/common.h delete mode 100644 plugins/MsgPopup/src/stdafx.cpp create mode 100644 plugins/MsgPopup/src/stdafx.cxx create mode 100644 plugins/MsgPopup/src/stdafx.h (limited to 'plugins/MsgPopup/src') diff --git a/plugins/MsgPopup/src/common.h b/plugins/MsgPopup/src/common.h deleted file mode 100644 index 6f7192aca2..0000000000 --- a/plugins/MsgPopup/src/common.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - -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 -#include -#include -#include -#include -#include - -#include "options.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; - -void LoadConfig(); diff --git a/plugins/MsgPopup/src/main.cpp b/plugins/MsgPopup/src/main.cpp index 1bbfba97a2..c04f171573 100644 --- a/plugins/MsgPopup/src/main.cpp +++ b/plugins/MsgPopup/src/main.cpp @@ -20,7 +20,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -#include "common.h" +#include "stdafx.h" HINSTANCE hInst; int hLangpack; diff --git a/plugins/MsgPopup/src/options.cpp b/plugins/MsgPopup/src/options.cpp index a57f74a925..ab987af80d 100644 --- a/plugins/MsgPopup/src/options.cpp +++ b/plugins/MsgPopup/src/options.cpp @@ -19,7 +19,7 @@ along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -#include "common.h" +#include "stdafx.h" int idOptionControls[4][3] = { IDC_ASTERISK_FG, IDC_ASTERISK_BG, IDC_TIMEOUT1, diff --git a/plugins/MsgPopup/src/stdafx.cpp b/plugins/MsgPopup/src/stdafx.cpp deleted file mode 100644 index c5fe5abaad..0000000000 --- a/plugins/MsgPopup/src/stdafx.cpp +++ /dev/null @@ -1,18 +0,0 @@ -/* -Copyright (C) 2012-15 Miranda NG project (http://miranda-ng.org) - -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 version 2 -of the License. - -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, see . -*/ - -#include "common.h" \ No newline at end of file diff --git a/plugins/MsgPopup/src/stdafx.cxx b/plugins/MsgPopup/src/stdafx.cxx new file mode 100644 index 0000000000..6fb37564b7 --- /dev/null +++ b/plugins/MsgPopup/src/stdafx.cxx @@ -0,0 +1,18 @@ +/* +Copyright (C) 2012-15 Miranda NG project (http://miranda-ng.org) + +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 version 2 +of the License. + +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, see . +*/ + +#include "stdafx.h" \ No newline at end of file diff --git a/plugins/MsgPopup/src/stdafx.h b/plugins/MsgPopup/src/stdafx.h new file mode 100644 index 0000000000..6f7192aca2 --- /dev/null +++ b/plugins/MsgPopup/src/stdafx.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 +#include +#include + +#include +#include +#include +#include +#include +#include + +#include "options.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; + +void LoadConfig(); -- cgit v1.2.3