From 4a966be3c32e745b2567e51c27766942f798f77d Mon Sep 17 00:00:00 2001 From: Kirill Volinsky Date: Sun, 26 Jul 2015 12:33:08 +0000 Subject: common projects git-svn-id: http://svn.miranda-ng.org/main/trunk@14724 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Sessions/Src/Main.cpp | 2 +- plugins/Sessions/Src/Options.cpp | 2 +- plugins/Sessions/Src/Sessions.h | 75 ---------------------------------------- plugins/Sessions/Src/Utils.cpp | 2 +- plugins/Sessions/Src/stdafx.cpp | 18 ---------- plugins/Sessions/Src/stdafx.cxx | 18 ++++++++++ plugins/Sessions/Src/stdafx.h | 75 ++++++++++++++++++++++++++++++++++++++++ 7 files changed, 96 insertions(+), 96 deletions(-) delete mode 100644 plugins/Sessions/Src/Sessions.h delete mode 100644 plugins/Sessions/Src/stdafx.cpp create mode 100644 plugins/Sessions/Src/stdafx.cxx create mode 100644 plugins/Sessions/Src/stdafx.h (limited to 'plugins/Sessions/Src') diff --git a/plugins/Sessions/Src/Main.cpp b/plugins/Sessions/Src/Main.cpp index 403ff76dd1..73afb9408d 100644 --- a/plugins/Sessions/Src/Main.cpp +++ b/plugins/Sessions/Src/Main.cpp @@ -17,7 +17,7 @@ You should have received a copy of the GNU General Public License along with this program. If not, see . */ -#include "sessions.h" +#include "stdafx.h" CLIST_INTERFACE *pcli; HINSTANCE g_hInst = NULL; diff --git a/plugins/Sessions/Src/Options.cpp b/plugins/Sessions/Src/Options.cpp index 0828c6928a..4618c1661d 100644 --- a/plugins/Sessions/Src/Options.cpp +++ b/plugins/Sessions/Src/Options.cpp @@ -17,7 +17,7 @@ You should have received a copy of the GNU General Public License along with this program. If not, see . */ -#include "sessions.h" +#include "stdafx.h" HICON hIcon; HICON hMarked, hNotMarked; diff --git a/plugins/Sessions/Src/Sessions.h b/plugins/Sessions/Src/Sessions.h deleted file mode 100644 index f76831d72e..0000000000 --- a/plugins/Sessions/Src/Sessions.h +++ /dev/null @@ -1,75 +0,0 @@ -/* -Sessions Management plugin for Miranda IM - -Copyright (C) 2007-2008 Danil Mozhar - -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 3 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, see . -*/ - -#define _CRT_SECURE_NO_DEPRECATE - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#include -#include - -#include "Utils.h" -#include "Version.h" -#include "Resource.h" - -#define MODNAME "Sessions" - -#define MS_SESSIONS_LAUNCHME "Sessions/Service/LaunchMe" - -extern IconItem iconList[]; - -#define MIIM_STRING 0x00000040 - -int DelUserDefSession(int ses_count); -int DeleteAutoSession(int ses_count); -int LoadSession(WPARAM, LPARAM); -int SaveSessionHandles(WPARAM, LPARAM); -INT_PTR SaveUserSessionHandles(WPARAM, LPARAM); -int SaveUserSessionName(TCHAR*); -INT_PTR CloseCurrentSession(WPARAM, LPARAM); -int SaveSessionDate(); - -extern HINSTANCE g_hInst; -extern MCONTACT session_list_recovered[255]; -extern MCONTACT session_list[255]; -extern int g_ses_limit; -extern int g_ses_count; -extern bool g_bExclHidden; -extern bool g_bWarnOnHidden; -extern bool g_bOtherWarnings; -extern bool g_bCrashRecovery; -extern bool g_bIncompletedSave; - -#define TIMERID_LOAD 12 -#define TIMERID_SHOW 11 -#define TIMERID_REBUILDAFTER 14 diff --git a/plugins/Sessions/Src/Utils.cpp b/plugins/Sessions/Src/Utils.cpp index 039c508fb7..a79a3baebc 100644 --- a/plugins/Sessions/Src/Utils.cpp +++ b/plugins/Sessions/Src/Utils.cpp @@ -17,7 +17,7 @@ You should have received a copy of the GNU General Public License along with this program. If not, see . */ -#include "sessions.h" +#include "stdafx.h" void AddSessionMark(MCONTACT hContact, int mode, char bit) { diff --git a/plugins/Sessions/Src/stdafx.cpp b/plugins/Sessions/Src/stdafx.cpp deleted file mode 100644 index 1e74afcbe3..0000000000 --- a/plugins/Sessions/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 "Sessions.h" \ No newline at end of file diff --git a/plugins/Sessions/Src/stdafx.cxx b/plugins/Sessions/Src/stdafx.cxx new file mode 100644 index 0000000000..6fb37564b7 --- /dev/null +++ b/plugins/Sessions/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/Sessions/Src/stdafx.h b/plugins/Sessions/Src/stdafx.h new file mode 100644 index 0000000000..f76831d72e --- /dev/null +++ b/plugins/Sessions/Src/stdafx.h @@ -0,0 +1,75 @@ +/* +Sessions Management plugin for Miranda IM + +Copyright (C) 2007-2008 Danil Mozhar + +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 3 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, see . +*/ + +#define _CRT_SECURE_NO_DEPRECATE + +#include +#include + +#include + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#include +#include + +#include "Utils.h" +#include "Version.h" +#include "Resource.h" + +#define MODNAME "Sessions" + +#define MS_SESSIONS_LAUNCHME "Sessions/Service/LaunchMe" + +extern IconItem iconList[]; + +#define MIIM_STRING 0x00000040 + +int DelUserDefSession(int ses_count); +int DeleteAutoSession(int ses_count); +int LoadSession(WPARAM, LPARAM); +int SaveSessionHandles(WPARAM, LPARAM); +INT_PTR SaveUserSessionHandles(WPARAM, LPARAM); +int SaveUserSessionName(TCHAR*); +INT_PTR CloseCurrentSession(WPARAM, LPARAM); +int SaveSessionDate(); + +extern HINSTANCE g_hInst; +extern MCONTACT session_list_recovered[255]; +extern MCONTACT session_list[255]; +extern int g_ses_limit; +extern int g_ses_count; +extern bool g_bExclHidden; +extern bool g_bWarnOnHidden; +extern bool g_bOtherWarnings; +extern bool g_bCrashRecovery; +extern bool g_bIncompletedSave; + +#define TIMERID_LOAD 12 +#define TIMERID_SHOW 11 +#define TIMERID_REBUILDAFTER 14 -- cgit v1.2.3