diff options
author | Kirill Volinsky <mataes2007@gmail.com> | 2015-08-01 19:49:12 +0000 |
---|---|---|
committer | Kirill Volinsky <mataes2007@gmail.com> | 2015-08-01 19:49:12 +0000 |
commit | ed9e9297ad8ae631d8856ba8917c92b545be4ebf (patch) | |
tree | 925ec2092ee22b8f57a03d1a6c0e6e94a7db9b41 /plugins/TrafficCounter/src | |
parent | 191ebb9705c5a62c84ce9c442ebe689bd8123ded (diff) |
TrafficCounter: common project
git-svn-id: http://svn.miranda-ng.org/main/trunk@14792 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/TrafficCounter/src')
-rw-r--r-- | plugins/TrafficCounter/src/TrafficCounter.cpp | 2 | ||||
-rw-r--r-- | plugins/TrafficCounter/src/commonheaders.cpp | 1 | ||||
-rw-r--r-- | plugins/TrafficCounter/src/misc.cpp | 2 | ||||
-rw-r--r-- | plugins/TrafficCounter/src/options.cpp | 2 | ||||
-rw-r--r-- | plugins/TrafficCounter/src/opttree.cpp | 2 | ||||
-rw-r--r-- | plugins/TrafficCounter/src/statistics.cpp | 2 | ||||
-rw-r--r-- | plugins/TrafficCounter/src/stdafx.cxx | 18 | ||||
-rw-r--r-- | plugins/TrafficCounter/src/stdafx.h (renamed from plugins/TrafficCounter/src/commonheaders.h) | 2 | ||||
-rw-r--r-- | plugins/TrafficCounter/src/vars.cpp | 2 |
9 files changed, 24 insertions, 9 deletions
diff --git a/plugins/TrafficCounter/src/TrafficCounter.cpp b/plugins/TrafficCounter/src/TrafficCounter.cpp index 8e04d461c6..511e6d5266 100644 --- a/plugins/TrafficCounter/src/TrafficCounter.cpp +++ b/plugins/TrafficCounter/src/TrafficCounter.cpp @@ -17,7 +17,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 "commonheaders.h"
+#include "stdafx.h"
/*-------------------------------------------------------------------------------------------------------------------*/
//GLOBAL
diff --git a/plugins/TrafficCounter/src/commonheaders.cpp b/plugins/TrafficCounter/src/commonheaders.cpp deleted file mode 100644 index 14f99f7d71..0000000000 --- a/plugins/TrafficCounter/src/commonheaders.cpp +++ /dev/null @@ -1 +0,0 @@ -#include "commonheaders.h"
diff --git a/plugins/TrafficCounter/src/misc.cpp b/plugins/TrafficCounter/src/misc.cpp index ebc9c515f6..c798f14add 100644 --- a/plugins/TrafficCounter/src/misc.cpp +++ b/plugins/TrafficCounter/src/misc.cpp @@ -17,7 +17,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 "commonheaders.h"
+#include "stdafx.h"
/* Функция разбирает строку и возвращает список тегов и соответствующих им строк.
Аргументы:
diff --git a/plugins/TrafficCounter/src/options.cpp b/plugins/TrafficCounter/src/options.cpp index 3d383cb86d..449ef3b315 100644 --- a/plugins/TrafficCounter/src/options.cpp +++ b/plugins/TrafficCounter/src/options.cpp @@ -21,7 +21,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. Автор: Mironych
=======================================================================================*/
-#include "commonheaders.h"
+#include "stdafx.h"
OPTTREE_OPTION *pOptions; // Через этот указатель модуль opttree.c может добраться до списка опций.
diff --git a/plugins/TrafficCounter/src/opttree.cpp b/plugins/TrafficCounter/src/opttree.cpp index 846e9fef93..8189b5d7f5 100644 --- a/plugins/TrafficCounter/src/opttree.cpp +++ b/plugins/TrafficCounter/src/opttree.cpp @@ -21,7 +21,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 "commonheaders.h"
+#include "stdafx.h"
HTREEITEM OptTree_FindNamedTreeItemAt(HWND hwndTree, HTREEITEM hItem, const TCHAR *name);
HTREEITEM OptTree_AddItem(HWND hwndTree, TCHAR *name, LPARAM lParam, int iconIndex);
diff --git a/plugins/TrafficCounter/src/statistics.cpp b/plugins/TrafficCounter/src/statistics.cpp index 511560baa3..d8ef8fac80 100644 --- a/plugins/TrafficCounter/src/statistics.cpp +++ b/plugins/TrafficCounter/src/statistics.cpp @@ -21,7 +21,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. Автор: Mironych
=======================================================================================*/
-#include "commonheaders.h"
+#include "stdafx.h"
WORD Stat_SelAcc; // Выбранные аккаунты в окне статистики
diff --git a/plugins/TrafficCounter/src/stdafx.cxx b/plugins/TrafficCounter/src/stdafx.cxx new file mode 100644 index 0000000000..6fb37564b7 --- /dev/null +++ b/plugins/TrafficCounter/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 <http://www.gnu.org/licenses/>.
+*/
+
+#include "stdafx.h"
\ No newline at end of file diff --git a/plugins/TrafficCounter/src/commonheaders.h b/plugins/TrafficCounter/src/stdafx.h index 4a2a56be57..b8e8bb1618 100644 --- a/plugins/TrafficCounter/src/commonheaders.h +++ b/plugins/TrafficCounter/src/stdafx.h @@ -20,8 +20,6 @@ along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
-#define _CRT_SECURE_NO_WARNINGS
-
#include <windows.h>
#include <windowsx.h>
#include <commctrl.h>
diff --git a/plugins/TrafficCounter/src/vars.cpp b/plugins/TrafficCounter/src/vars.cpp index 769685f1fc..5f55778802 100644 --- a/plugins/TrafficCounter/src/vars.cpp +++ b/plugins/TrafficCounter/src/vars.cpp @@ -21,7 +21,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. Автор: Mironych
=======================================================================================*/
-#include "commonheaders.h"
+#include "stdafx.h"
static TCHAR* GetTraffic(ARGUMENTSINFO *ai)
{
|