summaryrefslogtreecommitdiff
path: root/plugins/BASS_interface/src/Bass_interface.h
blob: 1058037bea4cbe60a757e9c7a626e307ccd2bd1c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
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_toptoolbar.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