52 lines
1.1 KiB
C++
Executable File
52 lines
1.1 KiB
C++
Executable File
/**
|
|
* @RDE_HEADER@
|
|
* Klasse fuer das Exportieren von einer Uebung in eine MSDL-Datei
|
|
* $Id$
|
|
* $HeadURL$
|
|
* $Author$
|
|
*/
|
|
#pragma once
|
|
|
|
#include <nglwidgets/ngldialog.h>
|
|
#include "msdl_logging.h"
|
|
#include "zwmsmsdl_export.h"
|
|
|
|
#include <memory>
|
|
#include <OperatorManagement/opm_data_plugin_interface.h>
|
|
#include <ExerciseManagement/exm_data_plugin_interface.h>
|
|
#include <ParticipantManagement/ppm_dtc.h>
|
|
|
|
|
|
class Ui_MSDLExport;
|
|
|
|
namespace LtsSession
|
|
{
|
|
class LtsSession;
|
|
}
|
|
|
|
namespace msdl
|
|
{
|
|
class ZWMSMSDL_EXPORT ExportMsdl : public NGLDialog
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
ExportMsdl(LtsSession::LtsSession *pSession, QWidget *parent);
|
|
virtual ~ExportMsdl();
|
|
|
|
protected slots:
|
|
void onTbExportFileClicked();
|
|
void onApply();
|
|
|
|
private:
|
|
msdl::LOGGER_T mLogger;
|
|
Ui_MSDLExport *mUi;
|
|
|
|
LtsSession::LtsSession *m_pSession;
|
|
|
|
std::shared_ptr<OperatorManagement::Interface::Dtc> m_opmDtc; // Operator name
|
|
std::shared_ptr<ExerciseManagement::Interface::Dtc> m_exmDtc; // Exercise name, description
|
|
std::shared_ptr<ParticipantManagement::Interface::Dtc> m_ppmDtc; // Organisation structure, participants, equipment ...
|
|
};
|
|
}
|