mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-02 15:15:50 +08:00
Ref T419, utility functions for platform
This commit is contained in:
committed by
Mat Sutcliffe
parent
b0b8e82a2d
commit
2cc53ce67c
@@ -118,6 +118,12 @@ namespace BlackMisc
|
||||
//! Current platform
|
||||
static const CPlatform ¤tPlatform();
|
||||
|
||||
//! Is this the current platform
|
||||
static bool isCurrentPlatform(const QString &platform);
|
||||
|
||||
//! Is this the current platform
|
||||
static bool isCurrentPlatform(const CPlatform &platform);
|
||||
|
||||
//! Win32
|
||||
static const CPlatform &win32Platform();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user