summaryrefslogtreecommitdiff
path: root/plugins/SimpleAR/src/stdafx.h
blob: 2ba5c1c970d46221c8a191bdcf7514fbf15cd032 (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
#pragma once

#include <windows.h>
#include <time.h>

#include <newpluginapi.h>
#include <m_clistint.h>
#include <m_langpack.h>
#include <m_database.h>
#include <m_options.h>
#include <m_protosvc.h>
#include <m_string.h>

#include <m_variables.h>

#include "Resource.h"
#include "version.h"

#define protocolname		"SimpleAutoReplier" //no spaces here :)

#define KEY_ENABLED			"Enabled"
#define KEY_HEADING			"Heading"
#define KEY_REPEATINTERVAL	"RepeatInterval"

// General

struct CMPlugin : public PLUGIN<CMPlugin>
{
	CMPlugin() :
		PLUGIN<CMPlugin>(protocolname)
	{}
};

extern INT interval;
extern wchar_t *ptszDefaultMsg[6];
extern HGENMENU hEnableMenu;
extern IconItemT iconList[];

extern INT OptInit(WPARAM wParam, LPARAM lParam);