mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-01 13:36:48 +08:00
refs #256 Update CProject and project files to reflect BlackInput
This commit is contained in:
@@ -26,6 +26,15 @@ namespace BlackMisc
|
||||
#endif
|
||||
}
|
||||
|
||||
bool CProject::isCompiledWithBlackInput()
|
||||
{
|
||||
#ifdef WITH_BLACKINPUT
|
||||
return true;
|
||||
#else
|
||||
return false;
|
||||
#endif
|
||||
}
|
||||
|
||||
bool CProject::isCompiledWithFsxSupport()
|
||||
{
|
||||
#ifdef WITH_FSX
|
||||
@@ -66,6 +75,7 @@ namespace BlackMisc
|
||||
static QStringList sl;
|
||||
if (isCompiledWithBlackCore()) sl << "BlackCore";
|
||||
if (isCompiledWithBlackSound()) sl << "BlackSound";
|
||||
if (isCompiledWithBlackInput()) sl << "BlackInput";
|
||||
if (isCompiledWithGui()) sl << "BlackGui";
|
||||
if (isCompiledWithFsxSupport()) sl << "FSX";
|
||||
if (isCompiledWithXPlaneSupport()) sl << "XPlane";
|
||||
|
||||
@@ -18,6 +18,9 @@ namespace BlackMisc
|
||||
//! with BlackSound?
|
||||
static bool isCompiledWithBlackSound();
|
||||
|
||||
//! with BlackInput?
|
||||
static bool isCompiledWithBlackInput();
|
||||
|
||||
//! with FSX support?
|
||||
static bool isCompiledWithFsxSupport();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user