mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-14 00:25:35 +08:00
refs #649, enum to specify which swift application is running
(remark: used to check which caches will be used)
This commit is contained in:
@@ -60,8 +60,8 @@ namespace BlackGui
|
||||
return l;
|
||||
}
|
||||
|
||||
CGuiApplication::CGuiApplication(const QString &applicationName, const QPixmap &icon) :
|
||||
CApplication(applicationName, false)
|
||||
CGuiApplication::CGuiApplication(const QString &applicationName, SwiftApplication application, const QPixmap &icon) :
|
||||
CApplication(applicationName, application, false)
|
||||
{
|
||||
if (!sGui)
|
||||
{
|
||||
|
||||
@@ -70,7 +70,7 @@ namespace BlackGui
|
||||
static const BlackMisc::CLogCategoryList &getLogCategories();
|
||||
|
||||
//! Constructor
|
||||
CGuiApplication(const QString &applicationName = executable(), const QPixmap &icon = BlackMisc::CIcons::swift64());
|
||||
CGuiApplication(const QString &applicationName = executable(), SwiftApplication application = Unknown, const QPixmap &icon = BlackMisc::CIcons::swift64());
|
||||
|
||||
//! Destructor
|
||||
virtual ~CGuiApplication();
|
||||
|
||||
Reference in New Issue
Block a user