summaryrefslogtreecommitdiff
path: root/isee_tweaker/isee_tweaker.h
blob: 7cc1f98ce29e4b6d348002dd2627a95009ad0738 (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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
/*
Miranda IM ISee Tweaker plugin
Copyright (C) 2005  Sergey V. Gershovich

This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
*/

// isee_tweaker.rc
#include "resource.h"

// Plugin name
#define ModuleName "ISee Tweaker"

// options.c
BOOL CALLBACK DlgProcOpts(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lParam);
int OptInitialise(WPARAM wParam,LPARAM lParam);

// Client ID
struct CID_t {
	char *name;
	DWORD FP1;
	DWORD FP2;
	DWORD FP3;
	WORD ver;
};

static struct CID_t client_id[] = {
	{"Unknown/Custom",			0x00000000,	0x00000000, 0x00000000, 0},
	{"Miranda IM (default)",	0xffffffff,	0x00040000, 0x00000000, 8},
	{"ICQ Unknown",				0x3AA773EE, 0x00000000, 0x00000000, 4},
	{"ICQ 99",					0x3AA773EE, 0x00000000, 0x00000000, 6},
	{"ICQ 2000",				0x3AA773EE, 0x42662F9A, 0x425A1D5F, 7},
	{"ICQ 2001b/2002a/2003a",	0x3F755BAD, 0x00000000, 0x00000000, 8},
	{"ICQ 2003b",				0x3AA773EE, 0x00000000, 0x00000000, 10},
	{"ICQ Lite",				0x3AA773EE, 0x00000000, 0x00000000, 9},
	{"IM2",						0x3FF19BEB,	0x00000000, 0x3FF19BEB, 8},
	{"MICQ",					0x7d0001ea,	0x00000000, 0x00000000, 8},
	{"MICQ2",					0xffffff42,	0x00000000, 0x00000000, 8},
	{"Trillian",				0x3B75AC09,	0x00000000, 0x00000000, 0},
	{"libicq2000 (Jabber)",		0x3AA773EE,	0x3AA66380, 0x3A877A42, 0},
	{"&RQ",						0x00000000,	0x00000000, 0x00000000, 7},
	{"&RQ 0.9.4.16",			0xFFFFFF7F,	0x00090410, 0x00000000, 8},
	{"YSM",						0xFFFFFFAB,	0x00000000, 0x00000000, 8},
	{"StrICQ 0.4",				0xFFFFFF8F,	0x00000000, 0x00000000, 0},
	{"LICQ",					0x7d000000,	0x00000000,	0x00000000, 0},
	{"vICQ 0.43.0.0",			0x04031980,	0x00000000, 0x00000000, 0},
	{"mobicq / JIMM 0.4",		0xFFFFFFFE,	0x00000000, 0xFFFFFFFE, 0},
	{"Sticq",					0x3BA8DBAF,	0x3BEB5373, 0x3BEB5262, 2},
	{"GAIM",					0xffffffff,	0xffffffff, 0xffffffff, 8},
	{"Agile Messenger",			0x00000000,	0x00000000, 0x00000000, 0},
	{"WebICQ",					0x00000000,	0x00000000, 0x00000000, 7},
	{"alICQ",					0xFFFFFFBE,	0x00000000, 0x00000000, 0},
	{"Spam Bot",				0x4201F414,	0x4201F414, 0x4201F414, 0},
	{NULL,0,0}
}; 

// MTN TYPE
struct MTN_t {
	char *name;
};
static struct MTN_t mtn_type[] = {
	{"Disable MTN"},
	{"Enable MTN"},
	{"Enable MTN receiving only"},
	{NULL}
};


//VISIBLE MODE
struct VISMODE_t {
	char *name;
	BYTE value;
};

static struct VISMODE_t visible_mode[] = {
	{"Allow all users to see you",1},
	{"Block all users from seeing you",2},
	{"Allow only users in the permit list to see you",3},
	{"Block only users in the invisible list from seeing you",4},
	{"Allow only users in the buddy list to see you",5},
	{NULL,0}
};