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
+28
-42
@@ -2,65 +2,51 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <QObject>
|
||||
#include <QAbstractSocket>
|
||||
|
||||
#include "ltswebsocketclient_export.h"
|
||||
#include "client_message_factory.h"
|
||||
#include "logger.h"
|
||||
#include "ltswebsocketclient_export.h"
|
||||
|
||||
#include <QAbstractSocket>
|
||||
#include <QObject>
|
||||
|
||||
class QThread;
|
||||
|
||||
namespace LtsWebSocket
|
||||
{
|
||||
class WebSocketHelper;
|
||||
|
||||
|
||||
|
||||
class LTSWEBSOCKETCLIENT_EXPORT LtsWebSocketClient
|
||||
: public QObject
|
||||
, public ReplyHandler
|
||||
class LTSWEBSOCKETCLIENT_EXPORT LtsWebSocketClient : public QObject, public ReplyHandler
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
|
||||
Q_OBJECT
|
||||
public:
|
||||
explicit LtsWebSocketClient(AbstractClientMessageFactory* messageFactory, QObject* parent = nullptr);
|
||||
~LtsWebSocketClient();
|
||||
|
||||
explicit LtsWebSocketClient(AbstractClientMessageFactory *messageFactory, QObject *parent = nullptr);
|
||||
~LtsWebSocketClient();
|
||||
void open(const QString& hostname, const unsigned short port);
|
||||
|
||||
|
||||
void close();
|
||||
|
||||
void open(const QString &hostname, const unsigned short port);
|
||||
void addReply(ReplyMessage* message) override;
|
||||
|
||||
|
||||
signals:
|
||||
void connected();
|
||||
void disconnected();
|
||||
void dataReceived();
|
||||
|
||||
void close();
|
||||
private slots:
|
||||
|
||||
|
||||
void onNewClientMessage(AbstractClientMessage* clientMessage);
|
||||
|
||||
void addReply(ReplyMessage *message) override;
|
||||
signals:
|
||||
void onOpen(const QString& hostname, const unsigned short port);
|
||||
void onClose();
|
||||
void onSendTextMessage(const QString& msg);
|
||||
|
||||
signals:
|
||||
void connected();
|
||||
void disconnected();
|
||||
void dataReceived();
|
||||
private:
|
||||
NGL::INGLLogger& m_logger;
|
||||
AbstractClientMessageFactory* m_messageFactory;
|
||||
|
||||
private slots:
|
||||
|
||||
|
||||
void onNewClientMessage(AbstractClientMessage *clientMessage);
|
||||
|
||||
signals:
|
||||
void onOpen(const QString &hostname, const unsigned short port);
|
||||
void onClose();
|
||||
void onSendTextMessage(const QString &msg);
|
||||
|
||||
private:
|
||||
|
||||
NGL::INGLLogger &m_logger;
|
||||
AbstractClientMessageFactory *m_messageFactory;
|
||||
|
||||
QThread *m_webSocketHelperThread;
|
||||
WebSocketHelper *m_webSocketHelper;
|
||||
QThread* m_webSocketHelperThread;
|
||||
WebSocketHelper* m_webSocketHelper;
|
||||
};
|
||||
}
|
||||
} // namespace LtsWebSocket
|
||||
Reference in new issue
Block a user