mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-05-04 08:55:43 +08:00
Ref T296, adding scenery offset as situation member plus utility functions
* frontOrNull/backOrNull * added offset in model * style/renaming
This commit is contained in:
@@ -19,8 +19,6 @@
|
||||
#include "blackmisc/timestampobjectlist.h"
|
||||
#include "blackmisc/variant.h"
|
||||
|
||||
#include <QMetaType>
|
||||
|
||||
namespace BlackMisc
|
||||
{
|
||||
namespace Aviation
|
||||
@@ -42,6 +40,15 @@ namespace BlackMisc
|
||||
|
||||
//! Construct from initializer list.
|
||||
CAircraftSituationChangeList(std::initializer_list<CAircraftSituationChange> il);
|
||||
|
||||
//! Front or NULL
|
||||
CAircraftSituationChange frontOrNull() const;
|
||||
|
||||
//! Back or NULL
|
||||
CAircraftSituationChange backOrNull() const;
|
||||
|
||||
//! Index or NULL
|
||||
CAircraftSituationChange indexOrNull(int index) const;
|
||||
};
|
||||
|
||||
//! Change per callsign
|
||||
|
||||
Reference in New Issue
Block a user