Trim mostly-deletion changes (~700 lines) across the modules the Release 2 build compiles: unused telegrams and receiver/handler code in TrainingAreaBase (telegrams, recv_from_dds_aes/fts, ism/main/pdm/position handlers), dead members in SqlBrowser and ProjectDataManagement, unused LtsPluginManager loader paths, LtsSession unit-test, WlsTetra and DdsView cleanups, plus the stale include_directories removal in Lts/CMakeLists.txt. Continues the Release 2 source prune (keep only what the build compiles). Excluded from this commit by design: the machine-specific .envrc (MIGRATE_PIPELINE_ROOT path fix stays uncommitted) and the untracked qt5-before/ reference tree.
31 lines
866 B
C++
Executable File
31 lines
866 B
C++
Executable File
#pragma once
|
|
#include <ExerciseManagement/exm_dtc.h>
|
|
#include <unordered_map>
|
|
#include "logger.h"
|
|
|
|
namespace TrainingAreaBase
|
|
{
|
|
class MainHandler;
|
|
|
|
class ExmHandler final : public QObject
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
explicit ExmHandler(MainHandler *mainHandler);
|
|
bool init();
|
|
std::unordered_map<int, int> exercise2RadioGroup() const { return m_exercise2RadioGroup; }
|
|
ExerciseManagement::Exercise exercise(int exerciseId);
|
|
|
|
Q_SIGNALS:
|
|
void exercise2RadioGroupChanged();
|
|
void exerciseChanged(const ExerciseManagement::Exercise &data, DataModification modType);
|
|
private Q_SLOTS:
|
|
void onExerciseChanged(const ExerciseManagement::Exercise &data, DataModification modType);
|
|
private:
|
|
NGL::INGLLogger &m_logger;
|
|
std::unordered_map<int, int> m_exercise2RadioGroup;
|
|
std::shared_ptr<ExerciseManagement::Interface::Dtc> m_exmDtc;
|
|
MainHandler *m_mainHandler;
|
|
};
|
|
}
|