2025-06-19 15:37:39 +08:00
|
|
|
#ifndef REMOTE_FILE_H
|
2025-06-15 14:31:54 +08:00
|
|
|
#define REMOTE_FILE_H
|
|
|
|
|
|
|
|
|
|
#include <InfoMsg.h>
|
|
|
|
|
#include <Util.h>
|
|
|
|
|
|
|
|
|
|
#include "ClientCore.h"
|
|
|
|
|
|
|
|
|
|
class RemoteFile : public DirFileHelper
|
|
|
|
|
{
|
|
|
|
|
public:
|
2025-06-19 15:37:39 +08:00
|
|
|
RemoteFile(QObject* parent = nullptr);
|
2025-06-15 14:31:54 +08:00
|
|
|
~RemoteFile() override = default;
|
|
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
void setClientCore(ClientCore* cliCore);
|
|
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
bool GetHome() override;
|
|
|
|
|
bool GetDirFile(const QString& dir) override;
|
|
|
|
|
|
|
|
|
|
private:
|
2025-06-19 15:37:39 +08:00
|
|
|
ClientCore* cliCore_{};
|
2025-06-15 14:31:54 +08:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
#endif // REMOTE_FILE_H
|