2025-05-12 22:07:06 +08:00
|
|
|
#ifndef CLIENTFILE_H
|
|
|
|
#define CLIENTFILE_H
|
|
|
|
|
|
|
|
#include <InfoDirFile.hpp>
|
|
|
|
#include <filesystem>
|
|
|
|
|
|
|
|
namespace fs = std::filesystem;
|
|
|
|
class ClientFile
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
ClientFile();
|
|
|
|
|
|
|
|
public:
|
2025-05-12 22:38:23 +08:00
|
|
|
bool GetDirFiles(const std::wstring& path, DirFileInfoVec& vec);
|
2025-05-12 22:07:06 +08:00
|
|
|
wxString GetLastErr() const;
|
|
|
|
|
|
|
|
private:
|
|
|
|
wxString lastErr_;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif // CLIENTFILE_H
|