summaryrefslogtreecommitdiff
path: root/plugins/BASS_interface
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2012-10-20 16:19:36 +0000
committerKirill Volinsky <mataes2007@gmail.com>2012-10-20 16:19:36 +0000
commitf08c16820a6bf1b1e9087909d604efbca8520808 (patch)
tree856bf2fdcaa091c010767cc804c11d4de04c19e0 /plugins/BASS_interface
parentf439429a66636087d8194dafe099e515f861031b (diff)
version info standartization
git-svn-id: http://svn.miranda-ng.org/main/trunk@1994 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/BASS_interface')
-rw-r--r--plugins/BASS_interface/res/Version.rc4
-rw-r--r--plugins/BASS_interface/src/Bass_interface.h2
-rw-r--r--plugins/BASS_interface/src/Main.cpp9
-rw-r--r--plugins/BASS_interface/src/Version.h1
4 files changed, 5 insertions, 11 deletions
diff --git a/plugins/BASS_interface/res/Version.rc b/plugins/BASS_interface/res/Version.rc
index d741488c4f..5bfbab4754 100644
--- a/plugins/BASS_interface/res/Version.rc
+++ b/plugins/BASS_interface/res/Version.rc
@@ -7,10 +7,6 @@
#include "afxres.h"
#include "..\src\version.h"
-#ifdef _WIN32
-LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
-#endif //_WIN32
-
VS_VERSION_INFO VERSIONINFO
FILEVERSION __FILEVERSION_STRING
PRODUCTVERSION __FILEVERSION_STRING
diff --git a/plugins/BASS_interface/src/Bass_interface.h b/plugins/BASS_interface/src/Bass_interface.h
index 1058037bea..61c3f367fd 100644
--- a/plugins/BASS_interface/src/Bass_interface.h
+++ b/plugins/BASS_interface/src/Bass_interface.h
@@ -34,8 +34,6 @@ Copyright (C) 2010, 2011 tico-tico
#define LOADBASSFUNCTION(f) (*((void**)&f)=(void*)GetProcAddress(hBass,#f))
-#define MIID_BASSINT {0x2f07ea05, 0x05b5, 0x4ff0, { 0x87, 0x5d, 0xc5, 0x90, 0xda, 0x2d, 0xda, 0xc1 }} //2f07ea05-05b5-4ff0-875d-c590da2ddac1
-
#define ModuleName "Bass Interface"
#define OPT_VOLUME "Volume"
diff --git a/plugins/BASS_interface/src/Main.cpp b/plugins/BASS_interface/src/Main.cpp
index 828babac15..e34d9da35f 100644
--- a/plugins/BASS_interface/src/Main.cpp
+++ b/plugins/BASS_interface/src/Main.cpp
@@ -7,7 +7,7 @@ Copyright (C) 2010, 2011 tico-tico
HINSTANCE hInst;
int hLangpack;
-PLUGININFOEX pluginInfo={
+PLUGININFOEX pluginInfo = {
sizeof(PLUGININFOEX),
__PLUGIN_NAME,
PLUGIN_MAKE_VERSION(__MAJOR_VERSION, __MINOR_VERSION, __RELEASE_NUM, __BUILD_NUM),
@@ -17,16 +17,17 @@ PLUGININFOEX pluginInfo={
__COPYRIGHT,
__AUTHORWEB,
UNICODE_AWARE,
- MIID_BASSINT
+ //2f07ea05-05b5-4ff0-875d-c590da2ddac1
+ {0x2f07ea05, 0x05b5, 0x4ff0, {0x87, 0x5d, 0xc5, 0x90, 0xda, 0x2d, 0xda, 0xc1}}
};
static HANDLE hService;
static HANDLE hTBButton;
static HINSTANCE hBass = NULL;
-extern "C" BOOL WINAPI DllMain(HINSTANCE hinstDLL,DWORD fdwReason,LPVOID lpvReserved)
+BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
{
- hInst=hinstDLL;
+ hInst = hinstDLL;
return TRUE;
}
diff --git a/plugins/BASS_interface/src/Version.h b/plugins/BASS_interface/src/Version.h
index 0735651c7d..817ecd1662 100644
--- a/plugins/BASS_interface/src/Version.h
+++ b/plugins/BASS_interface/src/Version.h
@@ -10,7 +10,6 @@
#define __STRINGIFY(x) __STRINGIFY_IMPL(x)
#define __VERSION_STRING __STRINGIFY(__FILEVERSION_DOTS)
-
#define __PLUGIN_NAME "BASS_interface"
#define __INTERNAL_NAME "BASS_interface"
#define __FILENAME "BASS_interface.dll"