Apply clang-format to Lts/Common and DTC/enum headers
- Formatted all CodeGen module files (9 files) - Formatted LtsAppDescriptor module files - Formatted LtsAppManager/AppChooser files - Applied clang-format to all DTC and enum headers across modules - Removed coordTransTests from CommonUnitTestsPlaceholder (moved to tests/) Cosmetic changes only, no functional modifications. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
848 files changed
+89305
-100020
No files matched your search
Executable → Regular
+33
-31
@@ -1,27 +1,26 @@
|
||||
#pragma once
|
||||
|
||||
|
||||
|
||||
#include <ltslogin_export.h>
|
||||
#include <Plugins/AssetManagement/asm_data_plugin_interface.h>
|
||||
#include <Plugins/OperatorManagement/opm_data_plugin_interface.h>
|
||||
#include <Plugins/SituationReplayManagement/srm_data_plugin_interface.h>
|
||||
#include <Plugins/AssetManagement/asm_data_plugin_interface.h>
|
||||
|
||||
#include <QObject>
|
||||
|
||||
#include <ltslogin_export.h>
|
||||
|
||||
namespace LtsPluginManager
|
||||
{
|
||||
class LtsPluginManager;
|
||||
}
|
||||
|
||||
namespace LtsUtils
|
||||
{
|
||||
class RequestHelper;
|
||||
}
|
||||
|
||||
namespace LtsSession
|
||||
{
|
||||
class LtsSession;
|
||||
}
|
||||
|
||||
namespace DeveloperTools
|
||||
{
|
||||
class DevDialog;
|
||||
@@ -32,38 +31,41 @@ namespace LtsLogin
|
||||
|
||||
class LTSLOGIN_EXPORT LtsLogin : public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
LtsLogin();
|
||||
~LtsLogin();
|
||||
public:
|
||||
LtsLogin();
|
||||
~LtsLogin();
|
||||
|
||||
void login();
|
||||
void logoff();
|
||||
void setLoginPlugin(const QString &loginPluginIid) { m_loginPluginIid = loginPluginIid; }
|
||||
void login();
|
||||
void logoff();
|
||||
|
||||
private:
|
||||
friend class DeveloperTools::DevDialog;
|
||||
void setLoginPlugin(const QString& loginPluginIid)
|
||||
{
|
||||
m_loginPluginIid = loginPluginIid;
|
||||
}
|
||||
|
||||
LtsSession::LtsSession *getAdminSession();
|
||||
void showLogoutInformationDialog(AssetManagement::ShutdownAction action);
|
||||
private:
|
||||
friend class DeveloperTools::DevDialog;
|
||||
|
||||
LtsPluginManager::LtsPluginManager *m_loginApp;
|
||||
AssetManagement::ShutdownAction m_shutdownAction;
|
||||
std::shared_ptr<AssetManagement::Interface::Dtc> m_asmDtc;
|
||||
QString m_loginPluginIid;
|
||||
bool m_isInLogoutDialog;
|
||||
LtsSession::LtsSession* getAdminSession();
|
||||
void showLogoutInformationDialog(AssetManagement::ShutdownAction action);
|
||||
|
||||
private slots:
|
||||
void slotLoginDone();
|
||||
void slotLogoutShutdown(const AssetManagement::WorkstationLogout &data, DataModification modType);
|
||||
LtsPluginManager::LtsPluginManager* m_loginApp;
|
||||
AssetManagement::ShutdownAction m_shutdownAction;
|
||||
std::shared_ptr<AssetManagement::Interface::Dtc> m_asmDtc;
|
||||
QString m_loginPluginIid;
|
||||
bool m_isInLogoutDialog;
|
||||
|
||||
signals:
|
||||
void signalLogout();
|
||||
void signalStopBlock();
|
||||
void signalLoginDone();
|
||||
void signalLogoffDone();
|
||||
private slots:
|
||||
void slotLoginDone();
|
||||
void slotLogoutShutdown(const AssetManagement::WorkstationLogout& data, DataModification modType);
|
||||
|
||||
signals:
|
||||
void signalLogout();
|
||||
void signalStopBlock();
|
||||
void signalLoginDone();
|
||||
void signalLogoffDone();
|
||||
};
|
||||
|
||||
}
|
||||
} // namespace LtsLogin
|
||||
Reference in new issue
Block a user