Files
qt-migration-legatus/qt6-after/qt6-migrated-legatus/Lts/Plugins/DeveloperTools/Gui/dev_ftcmock.h
T

33 lines
528 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;
};
}