mirror of
https://gitea.msk.dinamika-avia.ru/Constanta-Design/RRJServer.git
synced 2026-03-28 19:55:48 +03:00
39 lines
727 B
C++
39 lines
727 B
C++
#ifndef CFICONTROLLER_H
|
|
#define CFICONTROLLER_H
|
|
|
|
#include <QObject>
|
|
#include <QMutex>
|
|
#include <QLocale>
|
|
#include "updatecontroller.h"
|
|
#include "cfiobject.h"
|
|
|
|
class CfiController : public QObject
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
explicit CfiController(UpdateController* updateController, QObject *parent = nullptr);
|
|
~CfiController();
|
|
public:
|
|
void lockAccessToCfiXML();
|
|
void unLockAccessToCfiXML();
|
|
|
|
bool parsingCfiXML();
|
|
|
|
signals:
|
|
|
|
private:
|
|
QVector3D getXYZfromElement(QDomElement element);
|
|
QVector2D getXYfromElement(QDomElement element);
|
|
|
|
private:
|
|
UpdateController* updateController;
|
|
|
|
QMutex mtxAccess;
|
|
|
|
QList<CfiObject> listCfiObjects;
|
|
|
|
QLocale* germanLocale;
|
|
};
|
|
|
|
#endif // CFICONTROLLER_H
|