/** * @RDE_HEADER@ * Small callback to NullPlayerCallback to be able to recognize the first tick (which then triggers initialization) * $Id$ * $HeadURL$ * $Author$ */ #pragma once #include #include #include /* * Simple callback for the player instance */ namespace HighLevelArchitecture { class HLACOMMON_EXPORT PlayerCallback final : public QObject, public ngs::NullPlayerCallback { Q_OBJECT public: PlayerCallback() = default; void tick() override; Q_SIGNALS: void firstTick(); protected: bool m_bFirstTick = false; }; } // namespace HighLevelArchitecture