summaryrefslogtreecommitdiff
path: root/plugins/TopToolBar/src
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2015-08-01 19:36:03 +0000
committerKirill Volinsky <mataes2007@gmail.com>2015-08-01 19:36:03 +0000
commit0baf5ace93f6d77ab348728bc176e17f9f5163fa (patch)
treed6c1748676cb1a0eb93ba5ef712e99f730005f78 /plugins/TopToolBar/src
parent9aaa591997b29a4ba3930272d630e5f939721494 (diff)
TopToolBar: common project
git-svn-id: http://svn.miranda-ng.org/main/trunk@14790 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/TopToolBar/src')
-rw-r--r--plugins/TopToolBar/src/InternalButtons.cpp2
-rw-r--r--plugins/TopToolBar/src/main.cpp2
-rw-r--r--plugins/TopToolBar/src/stdafx.cxx (renamed from plugins/TopToolBar/src/stdafx.cpp)2
-rw-r--r--plugins/TopToolBar/src/stdafx.h (renamed from plugins/TopToolBar/src/common.h)2
-rw-r--r--plugins/TopToolBar/src/toolbar.cpp2
-rw-r--r--plugins/TopToolBar/src/toolbarwnd.cpp2
-rw-r--r--plugins/TopToolBar/src/topbutton.cpp2
-rw-r--r--plugins/TopToolBar/src/ttbopt.cpp2
8 files changed, 7 insertions, 9 deletions
diff --git a/plugins/TopToolBar/src/InternalButtons.cpp b/plugins/TopToolBar/src/InternalButtons.cpp
index 697b78ac27..c7b5f0a36f 100644
--- a/plugins/TopToolBar/src/InternalButtons.cpp
+++ b/plugins/TopToolBar/src/InternalButtons.cpp
@@ -1,5 +1,5 @@
-#include "common.h"
+#include "stdafx.h"
#define TTBI_GROUPSHOWHIDE "TTBInternal/GroupShowHide"
#define TTBI_SOUNDSONOFF "TTBInternal/SoundsOnOFF"
diff --git a/plugins/TopToolBar/src/main.cpp b/plugins/TopToolBar/src/main.cpp
index c30ee22557..4326704b39 100644
--- a/plugins/TopToolBar/src/main.cpp
+++ b/plugins/TopToolBar/src/main.cpp
@@ -1,5 +1,5 @@
-#include "common.h"
+#include "stdafx.h"
CLIST_INTERFACE *pcli;
HINSTANCE hInst;
diff --git a/plugins/TopToolBar/src/stdafx.cpp b/plugins/TopToolBar/src/stdafx.cxx
index c5fe5abaad..6fb37564b7 100644
--- a/plugins/TopToolBar/src/stdafx.cpp
+++ b/plugins/TopToolBar/src/stdafx.cxx
@@ -15,4 +15,4 @@ 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 "common.h" \ No newline at end of file
+#include "stdafx.h" \ No newline at end of file
diff --git a/plugins/TopToolBar/src/common.h b/plugins/TopToolBar/src/stdafx.h
index a5f5666b77..6c11502295 100644
--- a/plugins/TopToolBar/src/common.h
+++ b/plugins/TopToolBar/src/stdafx.h
@@ -2,8 +2,6 @@
#define TTB_COMMON_H
-#define _CRT_SECURE_NO_WARNINGS
-
#include <windows.h>
#include <commctrl.h>
#include <stddef.h>
diff --git a/plugins/TopToolBar/src/toolbar.cpp b/plugins/TopToolBar/src/toolbar.cpp
index c0c86131bf..e5697a5583 100644
--- a/plugins/TopToolBar/src/toolbar.cpp
+++ b/plugins/TopToolBar/src/toolbar.cpp
@@ -1,5 +1,5 @@
-#include "common.h"
+#include "stdafx.h"
pfnCustomProc g_CustomProc = NULL;
LPARAM g_CustomProcParam = 0;
diff --git a/plugins/TopToolBar/src/toolbarwnd.cpp b/plugins/TopToolBar/src/toolbarwnd.cpp
index bce16c1b42..96aa552252 100644
--- a/plugins/TopToolBar/src/toolbarwnd.cpp
+++ b/plugins/TopToolBar/src/toolbarwnd.cpp
@@ -1,5 +1,5 @@
-#include "common.h"
+#include "stdafx.h"
COLORREF bkColour;
HBITMAP hBmpBackground, hBmpSeparator;
diff --git a/plugins/TopToolBar/src/topbutton.cpp b/plugins/TopToolBar/src/topbutton.cpp
index f0cb4ba82a..842553d2bb 100644
--- a/plugins/TopToolBar/src/topbutton.cpp
+++ b/plugins/TopToolBar/src/topbutton.cpp
@@ -1,5 +1,5 @@
-#include "common.h"
+#include "stdafx.h"
#define BitChanged(c) (dwFlags ^ Flags) & c
diff --git a/plugins/TopToolBar/src/ttbopt.cpp b/plugins/TopToolBar/src/ttbopt.cpp
index 6aa57f9d03..cddeaad2f6 100644
--- a/plugins/TopToolBar/src/ttbopt.cpp
+++ b/plugins/TopToolBar/src/ttbopt.cpp
@@ -1,4 +1,4 @@
-#include "common.h"
+#include "stdafx.h"
static HWND OptionshWnd;