diff options
author | Kirill Volinsky <mataes2007@gmail.com> | 2013-02-23 08:51:53 +0000 |
---|---|---|
committer | Kirill Volinsky <mataes2007@gmail.com> | 2013-02-23 08:51:53 +0000 |
commit | 43c0d8e91c16cc136d622f3b3b6442044baa079c (patch) | |
tree | 6899638ee8caf9945c6a71fc68b2bc9cf6956b14 /plugins/BASS_interface/src | |
parent | 8fd79dd4eef7c2bc84b9701cefc69af84893d927 (diff) |
added precompiled header
git-svn-id: http://svn.miranda-ng.org/main/trunk@3697 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/BASS_interface/src')
-rw-r--r-- | plugins/BASS_interface/src/Bass_interface.h | 12 | ||||
-rw-r--r-- | plugins/BASS_interface/src/Main.cpp | 6 | ||||
-rw-r--r-- | plugins/BASS_interface/src/stdafx.cpp | 18 |
3 files changed, 24 insertions, 12 deletions
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 <windows.h>
#include <commctrl.h>
#include <Uxtheme.h>
@@ -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 <http://www.gnu.org/licenses/>.
+*/
+
+#include "Bass_interface.h"
\ No newline at end of file |