summaryrefslogtreecommitdiff
path: root/protocols/LotusNotify/src/LotusNotify.h
blob: e9e85a45e29d17a843d53dc7340a84cd74f39eac (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
{
	uint32_t 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 {
	uint32_t 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;
};