summaryrefslogtreecommitdiff
path: root/protocols/FacebookRM/src/db.h
blob: 536462d9e7c3023d990d6b2e1024d023fa43a431 (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
/*

Facebook plugin for Miranda Instant Messenger
_____________________________________________

Copyright © 2009-11 Michal Zelinka, 2011-13 Robert Pösel

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, see <http://www.gnu.org/licenses/>.

*/

#pragma once

// DB keys
#define FACEBOOK_KEY_LOGIN					"Email"
#define FACEBOOK_KEY_ID						"ID"
#define FACEBOOK_KEY_TID					"ThreadID"
#define FACEBOOK_KEY_FIRST_NAME				"FirstName"
#define FACEBOOK_KEY_SECOND_NAME			"SecondName"
#define FACEBOOK_KEY_LAST_NAME				"LastName"
#define FACEBOOK_KEY_NICK					"Nick"
#define FACEBOOK_KEY_PASS					"Password"
#define FACEBOOK_KEY_DEVICE_ID				"DeviceID"
#define FACEBOOK_KEY_AV_URL					"AvatarURL"
#define FACEBOOK_KEY_DELETED				"Deleted"
#define FACEBOOK_KEY_CONTACT_TYPE			"ContactType"
#define FACEBOOK_KEY_DEF_GROUP				"DefaultGroup"
#define FACEBOOK_KEY_FORCE_HTTPS			"ForceHTTPS"
#define FACEBOOK_KEY_FORCE_HTTPS_CHANNEL    "ForceHTTPSChannel"
#define FACEBOOK_KEY_SET_MIRANDA_STATUS		"SetMirandaStatus"
#define FACEBOOK_KEY_SYSTRAY_NOTIFY			"UseSystrayNotify"
#define FACEBOOK_KEY_DISABLE_STATUS_NOTIFY	"DisableStatusNotify"
#define FACEBOOK_KEY_BIG_AVATARS			"UseBigAvatars"
#define FACEBOOK_KEY_DISCONNECT_CHAT		"DisconnectChatEnable"
#define FACEBOOK_KEY_MAP_STATUSES			"MapStatuses"
#define FACEBOOK_KEY_CUSTOM_SMILEYS			"CustomSmileys"
#define FACEBOOK_KEY_MESSAGE_ID				"LastMessageId"
#define FACEBOOK_KEY_SERVER_TYPE			"ServerType"
#define FACEBOOK_KEY_LOCAL_TIMESTAMP		"UseLocalTimestamp"
#define FACEBOOK_KEY_PRIVACY_TYPE			"PrivacyType"
#define FACEBOOK_KEY_PLACE					"Place"
#define FACEBOOK_KEY_LAST_WALL				"LastWall"
#define FACEBOOK_KEY_LOAD_PAGES				"LoadPages"
#define FACEBOOK_KEY_KEEP_UNREAD			"KeepUnread"	// (byte) 1 = don't mark messages as read on server (works globally or per contact)
#define FACEBOOK_KEY_INBOX_ONLY				"InboxOnly"

#define FACEBOOK_KEY_POLL_RATE				"PollRate"		// [HIDDEN]
#define FACEBOOK_KEY_TIMEOUTS_LIMIT			"TimeoutsLimit"	// [HIDDEN]
#define FACEBOOK_KEY_DISABLE_LOGOUT			"DisableLogout"	// [HIDDEN]
#define	FACEBOOK_KEY_LOCALE					"Locale"		// [HIDDEN] - en_US, cs_CZ, etc.
#define FACEBOOK_KEY_LOCAL_TIMESTAMP_UNREAD	"UseLocalTimestampUnread" // [HIDDEN] - 1 = use local timestamp for offline messages
#define FACEBOOK_KEY_NASEEMS_SPAM_MODE		"NaseemsSpamMode" // [HIDDEN] - 1 = don't load messages sent from other instances (e.g., browser) - known as "Naseem's spam mode"
#define FACEBOOK_KEY_NAME_AS_NICK			"NameAsNick"	// [HIDDEN] - 0 = don't use real name as nickname, use nickname if possible

#define FACEBOOK_KEY_EVENT_NOTIFICATIONS_ENABLE     "EventNotificationsEnable"
#define FACEBOOK_KEY_EVENT_FEEDS_ENABLE             "EventFeedsEnable"
#define FACEBOOK_KEY_EVENT_OTHER_ENABLE             "EventOtherEnable"
#define FACEBOOK_KEY_EVENT_CLIENT_ENABLE            "EventClientEnable"
#define FACEBOOK_KEY_FEED_TYPE                      "EventFeedsType"