mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-21 04:45:31 +08:00
refs #242, own aircraft context methods
This commit is contained in:
@@ -25,6 +25,12 @@ namespace BlackCore
|
||||
//! Destructor
|
||||
virtual ~CContextOwnAircraft();
|
||||
|
||||
//! Own aircraft
|
||||
const BlackMisc::Aviation::CAircraft &ownAircraft() const { return this->m_ownAircraft; }
|
||||
|
||||
//! Own aircraft
|
||||
BlackMisc::Aviation::CAircraft &ownAircraft() { return this->m_ownAircraft; }
|
||||
|
||||
public slots: // IContextOwnAircraft overrides
|
||||
|
||||
//! \copydoc IContextOwnAircraft::setOwnAircraft()
|
||||
@@ -60,7 +66,6 @@ namespace BlackCore
|
||||
//! Init my very own aircraft
|
||||
void initOwnAircraft();
|
||||
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user