1
mirror of https://invent.kde.org/network/falkon.git synced 2024-11-11 09:32:12 +01:00

QzCommon: Export all static strings (appname, buildtime, ..)

This commit is contained in:
David Rosca 2014-09-25 15:00:15 +02:00
parent 04a977dfea
commit 68087d5a3f
2 changed files with 12 additions and 12 deletions

View File

@ -23,11 +23,11 @@ const int sessionVersion = 0x0003;
const int sessionVersionQt5 = 0x0003 | 0x050000; const int sessionVersionQt5 = 0x0003 | 0x050000;
const int bookmarksVersion = 1; const int bookmarksVersion = 1;
const char* APPNAME = "QupZilla"; QUPZILLA_EXPORT const char* APPNAME = "QupZilla";
QUPZILLA_EXPORT const char* VERSION = QUPZILLA_VERSION; QUPZILLA_EXPORT const char* VERSION = QUPZILLA_VERSION;
const char* BUILDTIME = __DATE__" "__TIME__; QUPZILLA_EXPORT const char* BUILDTIME = __DATE__" "__TIME__;
const char* AUTHOR = "David Rosca"; QUPZILLA_EXPORT const char* AUTHOR = "David Rosca";
const char* COPYRIGHT = "2010-2014"; QUPZILLA_EXPORT const char* COPYRIGHT = "2010-2014";
const char* WWWADDRESS = "http://www.qupzilla.com"; QUPZILLA_EXPORT const char* WWWADDRESS = "http://www.qupzilla.com";
const char* WIKIADDRESS = "https://github.com/QupZilla/qupzilla/wiki"; QUPZILLA_EXPORT const char* WIKIADDRESS = "https://github.com/QupZilla/qupzilla/wiki";
} }

View File

@ -62,13 +62,13 @@ extern const int sessionVersionQt5;
// Version of bookmarks.json file // Version of bookmarks.json file
extern const int bookmarksVersion; extern const int bookmarksVersion;
extern const char* APPNAME; QUPZILLA_EXPORT extern const char* APPNAME;
QUPZILLA_EXPORT extern const char* VERSION; QUPZILLA_EXPORT extern const char* VERSION;
extern const char* BUILDTIME; QUPZILLA_EXPORT extern const char* BUILDTIME;
extern const char* AUTHOR; QUPZILLA_EXPORT extern const char* AUTHOR;
extern const char* COPYRIGHT; QUPZILLA_EXPORT extern const char* COPYRIGHT;
extern const char* WWWADDRESS; QUPZILLA_EXPORT extern const char* WWWADDRESS;
extern const char* WIKIADDRESS; QUPZILLA_EXPORT extern const char* WIKIADDRESS;
enum BrowserWindowType { enum BrowserWindowType {
BW_FirstAppWindow, BW_FirstAppWindow,