summaryrefslogtreecommitdiff
path: root/plugins/!NotAdopted/sndVol/plugin.h
blob: 529676a2890ce60663e9a2792d7c4c43879e3af0 (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
#include "AggressiveOptimize.h"
#include <windows.h>
#include <commctrl.h>
#include "../../include/newpluginapi.h"
#include "../../include/m_system.h"
#include "../../include/m_database.h"
#include "../../include/m_protomod.h"
#include "../../include/m_protosvc.h"
#include "../../include/m_langpack.h"
#include "../../include/m_clist.h"
#include "../../include/m_options.h"
#include "../../include/m_clui.h"
#include "../../include/m_clc.h"
#include "../../include/m_utils.h"
#include "../../include/m_skin.h"
#include "../../include/m_button.h"
#include <math.h>


#define SERVICENAME	"sndVol"

extern HINSTANCE hInst;
extern bool isEnabled;
extern HWND hwndFrame, hwndSlider, hwndOptSlider;
extern HICON hSoundOn, hSoundOff;
extern int autoPreview;

#define SLIDER_MIN  1
#define SLIDER_MAX  90
#define SLIDER_DIV	6

#ifdef __cplusplus
extern "C" {
#endif 

int __declspec(dllexport) Load( PLUGINLINK *link );
int __declspec(dllexport) Unload( void );
__declspec(dllexport) PLUGININFO *MirandaPluginInfo( DWORD dwVersion );

#ifdef __cplusplus
}
#endif