summaryrefslogtreecommitdiff
path: root/protocols/WhatsAppWeb/src/db.h
blob: 49ea39f06266e8f412fd751341e12b9c6dd4a02e (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
/*

WhatsAppWeb plugin for Miranda NG
Copyright © 2019 George Hazan

*/

#define MODULENAME  "WhatsApp"

// DB keys
#define DBKEY_ID                      "ID"
#define DBKEY_LOGIN                   "Login"
#define DBKEY_CC                      "CountryCode"

#define DBKEY_CLIENT_ID               "ClientId"
#define DBKEY_CLIENT_TOKEN            "ClientToken"
#define DBKEY_SERVER_TOKEN            "ServerToken"
#define DBKEY_BROWSER_TOKEN           "BrowserToken"

#define DBKEY_PUB_KEY                 "PublicKey"
#define DBKEY_PRIVATE_KEY             "PrivateKey"

#define DBKEY_MAC_KEY                 "MacKey"
#define DBKEY_ENC_KEY                 "EncKey"

#define DBKEY_NICK                    "Nick"
#define DBKEY_DEF_GROUP               "DefaultGroup"
#define DBKEY_AUTORUNCHATS            "AutoRunChats"
#define DBKEY_AVATAR_ID					  "AvatarId"

#define DBKEY_EVENT_CLIENT_COLBACK    "PopupClientColorBack"
#define DBKEY_EVENT_CLIENT_COLTEXT    "PopupClientColorText"
#define DBKEY_EVENT_CLIENT_TIMEOUT    "PopupClientTimeout"
#define DBKEY_EVENT_CLIENT_DEFAULT    "PopupClientColorDefault"

#define DBKEY_EVENT_OTHER_COLBACK     "PopupOtherColorBack"
#define DBKEY_EVENT_OTHER_COLTEXT     "PopupOtherColorText"
#define DBKEY_EVENT_OTHER_TIMEOUT     "PopupOtherTimeout"
#define DBKEY_EVENT_OTHER_DEFAULT     "PopupOtherColorDefault"