summaryrefslogtreecommitdiff
path: root/protocols/LotusNotify/src/LotusNotify.h
blob: 90f455e34fd28b130a8875ec85af2d462f797611 (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
#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();

	int Load() override;
	int Unload() override;
};