summaryrefslogtreecommitdiff
path: root/plugins/LotusNotify/src/LotusNotify.h
blob: 49b0ca4e99d664d3d7ceb69e2d34d722718551f7 (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
#pragma once

struct HISTORIA
{
	DWORD noteID;
	BOOL clicked;
	BOOL again;
	struct HISTORIA *next;
	struct POPUPSQUEUE *pq;
};

struct POPUPSQUEUE
{
	HWND hWnd;
	struct POPUPSQUEUE *next;
};

// structure contines only LN msg id to send to popup 

typedef struct {
	DWORD id;
	char strNote[4*16]; 
} POPUPATT;

__declspec(dllexport) STATUS LNPUBLIC MainEntryPoint (void);

void ErMsgT(wchar_t* msg);

void checkthread(void*);

struct CMPlugin : public PLUGIN<CMPlugin>
{
	CMPlugin() :
		PLUGIN<CMPlugin>(PLUGINNAME)
	{
		RegisterProtocol(PROTOTYPE_PROTOCOL);
	}
};