Files
qt5-legatus-legacy/Lts/Plugins/DeveloperTools/Gui/dev_ftcmock.h
T
2026-08-13 18:33:10 +02:00

33 lines
555 B
C++
Executable File

#pragma once
#include <ExerciseManagement/exm_ftc.h>
#include <QObject>
#include <memory>
class QRandomGenerator;
namespace LtsSession { class LtsSession; }
namespace DeveloperTools
{
class FtcMock : public QObject
{
Q_OBJECT
public:
explicit FtcMock(LtsSession::LtsSession *session, int min, int max, int timers);
void mock();
~FtcMock();
private:
LtsSession::LtsSession *m_session;
std::shared_ptr<ExerciseManagement::Interface::Ftc> m_exmFtc;
QRandomGenerator *m_gen;
int m_min;
int m_max;
};
} // namespace DeveloperTools