summaryrefslogtreecommitdiff
path: root/plugins/BASS_interface/src/Bass_interface.h
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/BASS_interface/src/Bass_interface.h')
-rw-r--r--plugins/BASS_interface/src/Bass_interface.h52
1 files changed, 52 insertions, 0 deletions
diff --git a/plugins/BASS_interface/src/Bass_interface.h b/plugins/BASS_interface/src/Bass_interface.h
new file mode 100644
index 0000000000..75585eb693
--- /dev/null
+++ b/plugins/BASS_interface/src/Bass_interface.h
@@ -0,0 +1,52 @@
+/*
+Copyright (C) 2010, 2011 tico-tico
+*/
+
+#ifndef __BASS_INTERFACE_H__
+#define __BASS_INTERFACE_H__
+
+#define MIRANDA_VER 0x0A00
+
+#include <windows.h>
+#include <newpluginapi.h>
+#include <m_langpack.h>
+#include <m_skin.h>
+#include <m_database.h>
+#include <m_options.h>
+#include <m_clist.h>
+#include <win2k.h>
+#include <m_icolib.h>
+#include <commctrl.h>
+
+#include "m_toolbar.h"
+
+#include "resource.h"
+#include "version.h"
+
+#define BASSDEF(f) (WINAPI *f)
+#include "bass.h"
+
+#if defined( _UNICODE )
+ #define BASS_TCHAR BASS_UNICODE
+#else
+ #define BASS_TCHAR 0
+#endif
+
+#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"
+#define OPT_BASSPATH "PathToDll"
+#define OPT_MAXCHAN "MaxChannels"
+#define OPT_OUTDEVICE "OutDevice"
+#define OPT_QUIETTIME "QuietTime"
+#define OPT_TIME1 "Time1"
+#define OPT_TIME2 "Time2"
+#define OPT_STATUS "StatMask"
+#define OPT_PREVIEW "Preview"
+#define OPT_DEVOPEN "DevOpen"
+
+#endif