Adds initial intermediate qt6 porting state
This commit is contained in:
11247 files changed
+1891537
No files matched your search
+55
@@ -0,0 +1,55 @@
|
||||
|
||||
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <FileManagement/flm_ftc.h>
|
||||
#include <FileManagement/flm_ftc_types.h>
|
||||
|
||||
#include <DDS/DDSConnector/dds_connector.h>
|
||||
|
||||
#include <QtCore/QObject>
|
||||
|
||||
|
||||
namespace LtsUtils
|
||||
{
|
||||
class RequestHelper;
|
||||
}
|
||||
|
||||
namespace PlanOverlaysPlugin
|
||||
{
|
||||
class FileManagementReplyHandler
|
||||
: public QObject
|
||||
, public FileManagement::Interface::Ftc::FileContentModifyReplyHandler
|
||||
, public FileManagement::Interface::Ftc::FileContentChangeStatusReplyHandler
|
||||
, public FileManagement::Interface::Ftc::FileContentRemoveReplyHandler
|
||||
, public FileManagement::Interface::Ftc::GetFileContentDataReplyHandler
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
|
||||
explicit FileManagementReplyHandler( LtsUtils::RequestHelper * );
|
||||
~FileManagementReplyHandler() = default;
|
||||
|
||||
const std::vector<uint8_t> &getContent() const { return m_content; }
|
||||
|
||||
protected:
|
||||
|
||||
|
||||
void onFileContentModifyReply ( const Core::FunctionReplyObject & replyObject) override final { requestReply(replyObject); }
|
||||
void onFileContentRemoveReply ( const Core::FunctionReplyObject & replyObject) override final { requestReply(replyObject); }
|
||||
void onFileContentChangeStatusReply ( const Core::FunctionReplyObject & replyObject) override final { requestReply(replyObject); }
|
||||
|
||||
void onGetFileContentDataReply( const FileManagement::GetFileContentDataReply & replyObject) override final;
|
||||
|
||||
private:
|
||||
|
||||
void requestReply(const Core::FunctionReplyObject &replyObject);
|
||||
|
||||
LtsUtils::RequestHelper *m_requestHelper;
|
||||
std::vector<uint8_t> m_content;
|
||||
|
||||
};
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user