summaryrefslogtreecommitdiff
path: root/plugins/XSoundNotify/xsn_types.h
blob: 43f4434fea4a79316588d17d60ba90c172c3177f (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
#ifndef __XSN_TYPES
#define __XSN_TYPES

#include <string>
#include <windows.h>
#include <newpluginapi.h>
#include <m_database.h>

#ifndef UNICODE  
	typedef std::string xsn_string;
#else
	typedef std::wstring xsn_string;
#endif

typedef std::string ModuleString;
typedef std::string ProtocolString;

struct XSN_Variant : DBVARIANT
{
	XSN_Variant();
	~XSN_Variant();

	xsn_string toString() const;
	bool empty() const;
};

struct XSN_ModuleInfo
{
	static const char * name();
	static const char * soundSetting();
};

#endif