From 43c0d8e91c16cc136d622f3b3b6442044baa079c Mon Sep 17 00:00:00 2001 From: Kirill Volinsky Date: Sat, 23 Feb 2013 08:51:53 +0000 Subject: added precompiled header git-svn-id: http://svn.miranda-ng.org/main/trunk@3697 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/BASS_interface/Bass_interface_11.vcxproj | 14 ++++++++++++++ .../BASS_interface/Bass_interface_11.vcxproj.filters | 3 +++ plugins/BASS_interface/src/Bass_interface.h | 12 ------------ plugins/BASS_interface/src/Main.cpp | 6 ++++++ plugins/BASS_interface/src/stdafx.cpp | 18 ++++++++++++++++++ 5 files changed, 41 insertions(+), 12 deletions(-) create mode 100644 plugins/BASS_interface/src/stdafx.cpp (limited to 'plugins/BASS_interface') diff --git a/plugins/BASS_interface/Bass_interface_11.vcxproj b/plugins/BASS_interface/Bass_interface_11.vcxproj index 43f6b59426..787ce5ecc8 100644 --- a/plugins/BASS_interface/Bass_interface_11.vcxproj +++ b/plugins/BASS_interface/Bass_interface_11.vcxproj @@ -85,6 +85,8 @@ EditAndContinue 4996;%(DisableSpecificWarnings) false + Bass_interface.h + Use true @@ -108,6 +110,8 @@ Level3 4996;%(DisableSpecificWarnings) false + Use + Bass_interface.h true @@ -136,6 +140,8 @@ Level3 4996;%(DisableSpecificWarnings) false + Use + Bass_interface.h Windows @@ -167,6 +173,8 @@ Level3 4996;%(DisableSpecificWarnings) false + Use + Bass_interface.h Windows @@ -195,6 +203,12 @@ + + Create + Create + Create + Create + diff --git a/plugins/BASS_interface/Bass_interface_11.vcxproj.filters b/plugins/BASS_interface/Bass_interface_11.vcxproj.filters index 9549add1f3..eab8ca7503 100644 --- a/plugins/BASS_interface/Bass_interface_11.vcxproj.filters +++ b/plugins/BASS_interface/Bass_interface_11.vcxproj.filters @@ -40,5 +40,8 @@ Source Files + + Source Files + \ No newline at end of file diff --git a/plugins/BASS_interface/src/Bass_interface.h b/plugins/BASS_interface/src/Bass_interface.h index a350f2bb57..09821041cd 100644 --- a/plugins/BASS_interface/src/Bass_interface.h +++ b/plugins/BASS_interface/src/Bass_interface.h @@ -2,9 +2,6 @@ Copyright (C) 2010, 2011 tico-tico */ -#ifndef __BASS_INTERFACE_H__ -#define __BASS_INTERFACE_H__ - #include #include #include @@ -26,13 +23,6 @@ Copyright (C) 2010, 2011 tico-tico #include "resource.h" #include "version.h" -#define BASSDEF(f) (WINAPI *f) -#include "bass.h" - -#define BASS_TCHAR BASS_UNICODE - -#define LOADBASSFUNCTION(f) (*((void**)&f)=(void*)GetProcAddress(hBass,#f)) - #define ModuleName LPGEN("Bass Interface") #define OPT_VOLUME "Volume" @@ -44,5 +34,3 @@ Copyright (C) 2010, 2011 tico-tico #define OPT_TIME2 "Time2" #define OPT_STATUS "StatMask" #define OPT_PREVIEW "Preview" - -#endif diff --git a/plugins/BASS_interface/src/Main.cpp b/plugins/BASS_interface/src/Main.cpp index 91f68091e8..e72a855339 100644 --- a/plugins/BASS_interface/src/Main.cpp +++ b/plugins/BASS_interface/src/Main.cpp @@ -3,6 +3,12 @@ Copyright (C) 2010, 2011 tico-tico */ #include "bass_interface.h" +#define BASSDEF(f) (WINAPI *f) +#include "bass.h" + +#define BASS_TCHAR BASS_UNICODE + +#define LOADBASSFUNCTION(f) (*((void**)&f)=(void*)GetProcAddress(hBass,#f)) HINSTANCE hInst; int hLangpack; diff --git a/plugins/BASS_interface/src/stdafx.cpp b/plugins/BASS_interface/src/stdafx.cpp new file mode 100644 index 0000000000..dda881ef8e --- /dev/null +++ b/plugins/BASS_interface/src/stdafx.cpp @@ -0,0 +1,18 @@ +/* +Copyright (C) 2012-13 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 "Bass_interface.h" \ No newline at end of file -- cgit v1.2.3