Initial commit
This commit is contained in:
commit
b7d90b9afe
16245 files changed
+3396666
No files matched your search
@@ -0,0 +1,33 @@
|
||||
/**
|
||||
* @RDE_HEADER@
|
||||
* Small callback to NullPlayerCallback to be able to recognize the first tick (which then triggers initialization)
|
||||
* $Id$
|
||||
* $HeadURL$
|
||||
* $Author$
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <QObject>
|
||||
#include <NullPlayerCallback.h>
|
||||
|
||||
#include <Common/hlacommon_export.h>
|
||||
/*
|
||||
* 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
|
||||
Reference in new issue
Block a user