blob: 3b5edc0daacf2329521c6c6e9f0900e916148026 (
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
|
#define _CRT_SECURE_NO_WARNINGS
#include <windows.h>
#include <Shlwapi.h>
#include <newpluginapi.h>
#include <m_system_cpp.h>
#include <m_database.h>
#include <m_protocols.h>
#include <m_protosvc.h>
#include <m_langpack.h>
#include <m_clist.h>
#include <m_skin.h>
#include <win2k.h>
#include <m_options.h>
#include "resource.h"
#include "Version.h"
#define SETTINGSNAME "XSoundNotify"
#define SETTINGSKEY "XSNPlugin_sound"
struct XSN_Data
{
HANDLE hContact;
TCHAR path[MAX_PATH];
__forceinline XSN_Data(HANDLE _aContact, TCHAR *_path) :
hContact(_aContact)
{
_tcsncpy(path, _path, SIZEOF(path));
}
};
|