mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-10 05:55:33 +08:00
Ref T472, category UI component
This commit is contained in:
committed by
Mat Sutcliffe
parent
1b730dd0b1
commit
2aff3bb775
@@ -34,6 +34,7 @@ namespace BlackGui
|
||||
class CDbDistributorComponent;
|
||||
class CDbLiveryComponent;
|
||||
class CDbModelComponent;
|
||||
class CDbAircraftCategoryComponent;
|
||||
|
||||
/**
|
||||
* Info area containing the DB data (models, liveries ...)
|
||||
@@ -48,13 +49,14 @@ namespace BlackGui
|
||||
enum InfoArea
|
||||
{
|
||||
// index must match tab index!
|
||||
InfoAreaModels = 0,
|
||||
InfoAreaLiveries = 1,
|
||||
InfoAreaDistributors = 2,
|
||||
InfoAreaAircraftIcao = 3,
|
||||
InfoAreaAirlineIcao = 4,
|
||||
InfoAreaCountries = 5,
|
||||
InfoAreaNone = -1
|
||||
InfoAreaModels = 0,
|
||||
InfoAreaLiveries = 1,
|
||||
InfoAreaDistributors = 2,
|
||||
InfoAreaAircraftIcao = 3,
|
||||
InfoAreaAirlineIcao = 4,
|
||||
InfoAreaCountries = 5,
|
||||
InfoAreaAircraftCategories = 6,
|
||||
InfoAreaNone = -1
|
||||
};
|
||||
|
||||
//! Constructor
|
||||
@@ -81,6 +83,9 @@ namespace BlackGui
|
||||
//! DB country component
|
||||
CDbCountryComponent *getCountryComponent() const;
|
||||
|
||||
//! DB aircraft category componentxs
|
||||
CDbAircraftCategoryComponent *getAircraftCategoryComponent() const;
|
||||
|
||||
public slots:
|
||||
//! Write to resource dir
|
||||
bool writeDbDataToResourceDir() const;
|
||||
|
||||
Reference in New Issue
Block a user