diff options
| author | me_desk <me_desk@fb96df88-216d-11de-830c-f3023f12d8ac> | 2012-06-17 21:15:12 +0000 |
|---|---|---|
| committer | me_desk <me_desk@fb96df88-216d-11de-830c-f3023f12d8ac> | 2012-06-17 21:15:12 +0000 |
| commit | 8df9466ada46e4b07990b9cb7e8b1cd61b96844a (patch) | |
| tree | 2cb652e5839bed672133ffa90e7ad477f55cfb6b /pica-client/globals.h | |
| download | pica-pica-8df9466ada46e4b07990b9cb7e8b1cd61b96844a.tar.gz pica-pica-8df9466ada46e4b07990b9cb7e8b1cd61b96844a.zip | |
todo list update
git-svn-id: svn://localhost/project_picapica/trunk@128 fb96df88-216d-11de-830c-f3023f12d8ac
Diffstat (limited to 'pica-client/globals.h')
| -rw-r--r-- | pica-client/globals.h | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/pica-client/globals.h b/pica-client/globals.h new file mode 100644 index 0000000..b6c2d7d --- /dev/null +++ b/pica-client/globals.h @@ -0,0 +1,26 @@ +#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 + +//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 int account_id; +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 |
