ADTF
Loading...
Searching...
No Matches
adtf_remote_filesystem_intf.h
Go to the documentation of this file.
1
7#pragma once
8#include <adtf_utils.h>
10
11namespace adtf
12{
13namespace remote
14{
15namespace devil
16{
17
22{
23public:
25 ADTF_IID(IFileSystem, "filesystem.devil.remote.adtf");
27 static constexpr const tChar* const DEFAULT_NAME = "filesystem";
28
29public:
30 virtual bool Exists(const char* strPath) = 0;
31 virtual bool IsFile(const char* strPath) = 0;
32 virtual bool IsDirectory(const char* strPath) = 0;
33 virtual const char* List(const char* strSearch, bool bFilesOnly = true) = 0;
34
35 virtual tResult Copy(const char* strSourcePath, const char* strDestinationPath) = 0;
36 virtual tResult Move(const char* strSourcePath, const char* strDestinationPath) = 0;
37 virtual tResult Delete(const char* strPath) = 0;
38
39 virtual tResult CreateDirectory(const char* strPath) = 0;
40 virtual tResult WriteFile(const char* strFileName, const char* strContent) = 0;
41 virtual const char* ReadFile(const char* strFileName) = 0;
42
43 virtual const char* GetDatFileDescription(const char* strDatFileName) = 0;
44 virtual tResult SetDatFileDescription(const char* strDatFileName, const char* strDescription) = 0;
45};
46
47} // namespace devil
48
49namespace wolverine
50{
55{
56public:
57 ADTF_IID(IFileSystem, "filesystem.wolverine.remote.adtf");
58
59public:
60 virtual int64_t GetFileSize(const char* strFileName) const = 0;
61};
62
63} // namespace wolverine
64
65using wolverine::IFileSystem;
66
67} // namespace remote
68} // namespace adtf
#define ADTF_IID(_interface, _striid)
Definition adtf_iid.h:19
A_UTILS_NS::cResult tResult
For backwards compatibility and to bring latest version into scope.
Definition result.h:736
Definition adtf_remote_filesystem_intf.h:22
ADTF_IID(IFileSystem, "filesystem.devil.remote.adtf")
RPC IID of the File System.
static constexpr const tChar *const DEFAULT_NAME
The default name the filesystem is registered to the adtf::services::ant::IRPCObjectServerRegistry.
Definition adtf_remote_filesystem_intf.h:27
Definition adtf_remote_filesystem_intf.h:55
Namespace for all functionality of the ADTF Remote SDK provided since v3.3.
Definition adtf_remote_filesystem_intf.h:16
Namespace for all functionality of the ADTF Remote SDK provided since v3.22.
Definition adtf_remote_filesystem_intf.h:50
Namespace for the ADTF Remote SDK.
Definition adtf_client_connector.h:16
Namespace for all functionality provided by ADTF and its SDKs.
Definition adtf_client_connector.h:14