From c77bc8ad3240272d3c784aa79b153b3d1cab726d Mon Sep 17 00:00:00 2001 From: Kirill Volinsky Date: Sat, 1 Aug 2015 16:47:17 +0000 Subject: StatusChange: common project git-svn-id: http://svn.miranda-ng.org/main/trunk@14782 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/StatusChange/src/Common.h | 41 ------------------------------------- plugins/StatusChange/src/main.cpp | 2 +- plugins/StatusChange/src/stdafx.cpp | 18 ---------------- plugins/StatusChange/src/stdafx.cxx | 18 ++++++++++++++++ plugins/StatusChange/src/stdafx.h | 40 ++++++++++++++++++++++++++++++++++++ 5 files changed, 59 insertions(+), 60 deletions(-) delete mode 100644 plugins/StatusChange/src/Common.h delete mode 100644 plugins/StatusChange/src/stdafx.cpp create mode 100644 plugins/StatusChange/src/stdafx.cxx create mode 100644 plugins/StatusChange/src/stdafx.h (limited to 'plugins/StatusChange/src') diff --git a/plugins/StatusChange/src/Common.h b/plugins/StatusChange/src/Common.h deleted file mode 100644 index f7568d19c1..0000000000 --- a/plugins/StatusChange/src/Common.h +++ /dev/null @@ -1,41 +0,0 @@ -#define _CRT_SECURE_NO_WARNINGS -#define WIN32_LEAN_AND_MEAN - -#include -#include - -#include -#include -#include -#include -#include -#include -#include - -#include "resource.h" -#include "version.h" - -#define PLUGINNAME "StatusChange" - -typedef struct -{ - BOOL MessageRead; - BOOL MessageSend; - BOOL UrlRead; - BOOL UrlSend; - BOOL FileRead; - BOOL FileSend; - - int ChangeTo; // ID_STATUS_XXX - - BOOL IfOffline; - BOOL IfOnline; - BOOL IfAway; - BOOL IfNA; - BOOL IfOccupied; - BOOL IfDND; - BOOL IfFreeforchat; - BOOL IfInvisible; - BOOL IfOnthephone; - BOOL IfOuttolunch; -} TOPTIONS; diff --git a/plugins/StatusChange/src/main.cpp b/plugins/StatusChange/src/main.cpp index ccf60e03d9..364d43b308 100644 --- a/plugins/StatusChange/src/main.cpp +++ b/plugins/StatusChange/src/main.cpp @@ -1,4 +1,4 @@ -#include "Common.h" +#include "stdafx.h" HINSTANCE hInst; TOPTIONS Options; diff --git a/plugins/StatusChange/src/stdafx.cpp b/plugins/StatusChange/src/stdafx.cpp deleted file mode 100644 index c5fe5abaad..0000000000 --- a/plugins/StatusChange/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/StatusChange/src/stdafx.cxx b/plugins/StatusChange/src/stdafx.cxx new file mode 100644 index 0000000000..6fb37564b7 --- /dev/null +++ b/plugins/StatusChange/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/StatusChange/src/stdafx.h b/plugins/StatusChange/src/stdafx.h new file mode 100644 index 0000000000..d98ffad0a6 --- /dev/null +++ b/plugins/StatusChange/src/stdafx.h @@ -0,0 +1,40 @@ +#define WIN32_LEAN_AND_MEAN + +#include +#include + +#include +#include +#include +#include +#include +#include +#include + +#include "resource.h" +#include "version.h" + +#define PLUGINNAME "StatusChange" + +typedef struct +{ + BOOL MessageRead; + BOOL MessageSend; + BOOL UrlRead; + BOOL UrlSend; + BOOL FileRead; + BOOL FileSend; + + int ChangeTo; // ID_STATUS_XXX + + BOOL IfOffline; + BOOL IfOnline; + BOOL IfAway; + BOOL IfNA; + BOOL IfOccupied; + BOOL IfDND; + BOOL IfFreeforchat; + BOOL IfInvisible; + BOOL IfOnthephone; + BOOL IfOuttolunch; +} TOPTIONS; -- cgit v1.2.3