mirror of
https://gitea.msk.dinamika-avia.ru/Constanta-Design/RRJServer.git
synced 2026-03-27 19:45:43 +03:00
Модуль DataBaseLMS рефакторинг
This commit is contained in:
@@ -8,10 +8,8 @@
|
||||
#include "DataBaseLMS_global.h"
|
||||
#include "databaselms.h"
|
||||
|
||||
class DATABASELMS_EXPORT InterfaceDataBaseLMS : public /*QObject,*/ DataBaseLMS
|
||||
class DATABASELMS_EXPORT InterfaceDataBaseLMS : public DataBaseLMS
|
||||
{
|
||||
//Q_OBJECT
|
||||
|
||||
public:
|
||||
InterfaceDataBaseLMS(QWidget *ownerWidget, QObject *parent = nullptr);
|
||||
|
||||
@@ -47,11 +45,7 @@ public:
|
||||
|
||||
bool authorizationTrainee(QString login, QString password, QString classroom_name, QString computer_name);
|
||||
bool deAuthorizationTrainee(QString login);
|
||||
bool deAuthorizationAllTrainees();
|
||||
|
||||
//Регистрация тайминга Обучаемого
|
||||
int entryTraineeOnSimulator(int id_trainee);
|
||||
int exitTraineeFromSimulator(int id_trainee);
|
||||
bool deAuthorizationAllTrainees();
|
||||
|
||||
QString getNameTraineeOnComputer(QString computer_name);
|
||||
Trainee getTraineeOnComputer(QString computer_name);
|
||||
@@ -71,6 +65,10 @@ public:
|
||||
bool isArchivedTrainee(int id);
|
||||
bool isLoggedInTrainee(int id);
|
||||
|
||||
//Регистрация тайминга Обучаемого
|
||||
int entryTraineeOnSimulator(int id_trainee);
|
||||
int exitTraineeFromSimulator(int id_trainee);
|
||||
|
||||
|
||||
//Группы
|
||||
|
||||
@@ -101,7 +99,6 @@ public:
|
||||
|
||||
private:
|
||||
QWidget* ownerWidget;
|
||||
//QMutex mtxAccess;
|
||||
};
|
||||
|
||||
#endif // INTERFACEDATABASELMS_H
|
||||
|
||||
Reference in New Issue
Block a user