mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-05 09:15:34 +08:00
refs #777 CApplication methods for detecting already running applications.
This commit is contained in:
committed by
Klaus Basan
parent
7f422eb3e4
commit
fa76b5411e
@@ -108,6 +108,15 @@ namespace BlackCore
|
||||
//! Destructor
|
||||
virtual ~CApplication();
|
||||
|
||||
//! Application information
|
||||
BlackMisc::CApplicationInfo getApplicationInfo() const;
|
||||
|
||||
//! Information about all running apps (including this one only if exec() has already been called)
|
||||
static BlackMisc::CApplicationInfoList getRunningApplications();
|
||||
|
||||
//! True if this swift application is already running (including different versions)
|
||||
bool isAlreadyRunning() const;
|
||||
|
||||
//! Application name and version
|
||||
const QString &getApplicationNameAndVersion() const;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user