summaryrefslogtreecommitdiffstats
path: root/pica-client/globals.h
blob: 82eec86102a29cf7e207c3828f723864a5a409f6 (plain) (blame)
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
#ifndef GLOBALS_H
#define GLOBALS_H

#define PICA_CLIENT_STORAGEDB "pica-client.sqlite"
#define PICA_CLIENT_CONFIGDIR ".pica-client"

#ifndef PICA_INSTALLPREFIX

#define PICA_INSTALLPREFIX "/usr"

#endif

#include "../PICA_id.h"

//variables are defined in main.cpp
extern class QString config_dir;
extern class QString config_dbname;
extern class QString config_defaultCA;
extern class SkyNet *skynet;
extern class MainWindow *mainwindow;
extern unsigned char account_id[PICA_ID_SIZE];
extern class AskPassword *askpassword;
extern class MsgUIRouter *msguirouter;
extern class QIcon picapica_ico_sit;
extern class QIcon picapica_ico_fly;
extern class PicaActionCenter *action_center;
extern class PicaSysTray *systray;
#endif // GLOBALS_H