8#include "Arp/Base/Rsc/Commons/Rsc.hpp"
9#include "Arp/Base/Rsc/Commons/IRscService.hpp"
10#include "Arp/Base/Rsc/Commons/IRscReadEnumerator.hxx"
11#include "Arp/Base/Rsc/Commons/IRscWriteEnumerator.hxx"
12#include "Arp/Base/Core/delegate.hxx"
13#include "Arp/Base/Rsc/Commons/RscString.hxx"
14#include "Arp/System/Commons/Services/Io/FileSystemError.hpp"
15#include "Arp/System/Commons/Services/Io/FileSystemTraitsEntry.hpp"
16#include "Arp/System/Commons/Services/Io/Permissions.hpp"
17#include "Arp/System/Commons/Services/Io/SpaceInfo.hpp"
18#include "Arp/System/Commons/Services/Io/Traits.hpp"
25using namespace Arp::Base::Rsc::Commons;
38 using Ptr = std::shared_ptr<IFileSystemInfoService>;
Prototyping of delegate template.
Definition: delegate.hxx:14
Interface for reading a arrays or enumerations.
Definition: IRscReadEnumerator.hxx:19
This is the base interface of all Rsc services.
Definition: IRscService.hpp:22
std::shared_ptr< IRscService > Ptr
The shared_ptr type of IRscService.
Definition: IRscService.hpp:25
Interface for service proxy factories to create service proxies used by RSC clients.
Definition: IRscServiceProxyFactory.hpp:22
This struct is used by file operations reading file informations from device.
Definition: FileSystemTraitsEntry.hpp:31
A generic service to retrieve file system infos.
Definition: IFileSystemInfoService.hpp:36
virtual FileSystemError GetFileSystemTraitsEntry(Traits traits, const RscString< 512 > &path, FileSystemTraitsEntry &fileSystemTraitsEntry)=0
Gets the file system traits entry of the specified path.
IFileSystemInfoService(void)=default
Constructs an IFileSystemInfoService instance.
virtual FileSystemError GetSpaceInfo(const RscString< 512 > &path, SpaceInfo &spaceInfo)=0
Gets the space information of the specified path.
virtual FileSystemError AddPermissions(const RscString< 512 > &path, Permissions permissions)=0
Adds the permissions to the specified path.
virtual void GetRootDirectories(GetRootDirectoriesResultDelegate resultDelegate)=0
Deprecated since 2023.6! This method is not supported anymore! Gets a list of all root directories su...
virtual Traits GetSupportedTraits()=0
Gets the supported traits.
virtual FileSystemError RemovePermissions(const RscString< 512 > &path, Permissions permissions)=0
Removes the permissions of the specified path.
virtual FileSystemError GetPermissions(const RscString< 512 > &path, Permissions &permissions)=0
Gets the permissions of the specified path.
This struct is used by file operations to reading of the space informations.
Definition: SpaceInfo.hpp:25
Namespace for services to access the filesystem
Permissions
Provides attributes for files and directories.
Definition: Permissions.hpp:19
Traits
This enum is used by several file services to specify the file traits to get or set,...
Definition: Traits.hpp:19
FileSystemError
This enum is used by several file operations.
Definition: FileSystemError.hpp:19