mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-09 05:28:09 +08:00
refs #641, using IOrderable and some formatting
This commit is contained in:
@@ -30,7 +30,8 @@ namespace BlackMisc
|
||||
//! \remarks Simulator independent class, supposed to be common denominator
|
||||
class BLACKMISC_EXPORT CAircraftModel :
|
||||
public CValueObject<CAircraftModel>,
|
||||
public BlackMisc::IDatastoreObjectWithIntegerKey
|
||||
public BlackMisc::IDatastoreObjectWithIntegerKey,
|
||||
public BlackMisc::IOrderable
|
||||
{
|
||||
public:
|
||||
//! Model type
|
||||
@@ -187,6 +188,9 @@ namespace BlackMisc
|
||||
//! Set distributor
|
||||
void setDistributor(const CDistributor &distributor) { m_distributor = distributor; }
|
||||
|
||||
//! Update distributor`s order attribute
|
||||
bool updateDistributorOrder(const CDistributorList &distributors);
|
||||
|
||||
//! Distributor
|
||||
bool hasDistributor() const;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user