mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-06 10:15:38 +08:00
refs #889, log categories
This commit is contained in:
committed by
Mathew Sutcliffe
parent
2c2a043e40
commit
ff0c37ff58
@@ -76,6 +76,12 @@ namespace BlackGui
|
||||
// void
|
||||
}
|
||||
|
||||
const CLogCategoryList &CDbOwnModelsComponent::getLogCategories()
|
||||
{
|
||||
static const CLogCategoryList l({ CLogCategory::modelGui(), CLogCategory::guiComponent() });
|
||||
return l;
|
||||
}
|
||||
|
||||
CAircraftModelView *CDbOwnModelsComponent::view() const
|
||||
{
|
||||
return ui->tvp_OwnAircraftModels;
|
||||
|
||||
@@ -64,6 +64,9 @@ namespace BlackGui
|
||||
//! Destructor
|
||||
virtual ~CDbOwnModelsComponent();
|
||||
|
||||
//! Log categories
|
||||
static const BlackMisc::CLogCategoryList &getLogCategories();
|
||||
|
||||
//! Own (installed) model for given model string
|
||||
BlackMisc::Simulation::CAircraftModel getOwnModelForModelString(const QString &modelString) const;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user