mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-29 12:45:40 +08:00
refs #614, last modifed timestamp from file set in CAircraftModel
* added to model (to display in view) * derived BlackMisc::ITimestampBased from BlackMisc::ITimestampBased
This commit is contained in:
@@ -13,6 +13,8 @@
|
||||
#define BLACKMISC_SIMULATION_FSCOMMON_AIRCRAFTCFGENTRY_H
|
||||
|
||||
#include "blackmisc/blackmiscexport.h"
|
||||
#include "blackmisc/valueobject.h"
|
||||
#include "blackmisc/timestampbased.h"
|
||||
#include "blackmisc/simulation/aircraftmodel.h"
|
||||
#include "blackmisc/propertyindex.h"
|
||||
#include "blackmisc/variant.h"
|
||||
@@ -26,7 +28,9 @@ namespace BlackMisc
|
||||
//! Set of aircraft.cfg entries representing an aircraft (FSX)
|
||||
//! \remarks an entry in the aircraft.cfg is title, atc type, ...
|
||||
//! This class already bundles relevant entries, hence the class is named Entries (plural)
|
||||
class BLACKMISC_EXPORT CAircraftCfgEntries: public BlackMisc::CValueObject<CAircraftCfgEntries>
|
||||
class BLACKMISC_EXPORT CAircraftCfgEntries:
|
||||
public BlackMisc::CValueObject<CAircraftCfgEntries>,
|
||||
public BlackMisc::ITimestampBased
|
||||
{
|
||||
public:
|
||||
//! Properties by index
|
||||
@@ -179,7 +183,15 @@ namespace BlackMisc
|
||||
BLACK_METAMEMBER(title),
|
||||
BLACK_METAMEMBER(atcType),
|
||||
BLACK_METAMEMBER(atcModel),
|
||||
BLACK_METAMEMBER(atcParkingCode)
|
||||
BLACK_METAMEMBER(atcParkingCode),
|
||||
BLACK_METAMEMBER(description),
|
||||
BLACK_METAMEMBER(uiType),
|
||||
BLACK_METAMEMBER(uiManufacturer),
|
||||
BLACK_METAMEMBER(texture),
|
||||
BLACK_METAMEMBER(simName),
|
||||
BLACK_METAMEMBER(createdBy),
|
||||
BLACK_METAMEMBER(rotorcraft),
|
||||
BLACK_METAMEMBER(timestampMSecsSinceEpoch)
|
||||
);
|
||||
};
|
||||
} // ns
|
||||
|
||||
Reference in New Issue
Block a user