66 I_ASSIGN(m_locationTypeAttrPtr,
"LocationType",
"Type of system location:\n0 - user's desktop directory\n1 - user's document\n2 - user's fonts\n3 - user's applications\n4 - users music\n5 - user's movies\n6 - user's movies\n7 - system's temporary directory\n8 - user's home directory\n9 - directory location where persistent application data can be stored\n10 - Returns a directory location where user-specific non-essential (cached) data should be written\n100 - Working directory for the running executable\n101 - Directory of the executable file\n102 - Path to the executable file\n103 - Application's local content folder\n104 - User-indepedent company data folder\n105 - User-indepedent application's data folder",
true, 0);
67 I_ASSIGN(m_applicationInfoCompPtr,
"ApplicationInfo",
"Application info",
false,
"ApplicationInfo");
72 virtual const QString&
GetPath()
const override;
73 virtual void SetPath(
const QString& path)
override;
85 I_ATTR(
int, m_locationTypeAttrPtr);
87 QString m_storagePath;
This interface provides some information about the application.
Base class for component implementation.
Provider of system pathes.
virtual const QString & GetPath() const override
Get path.
virtual bool Serialize(iser::IArchive &archive) override
Load or store state of this object as a archive stream.
virtual int GetPathType() const override
Get intended type of the path.
virtual void OnComponentCreated() override
icomp::CComponentBase BaseClass
virtual void SetPath(const QString &path) override
Set path.
@ SL_SHARED_COMPANY_DIRECTORY
User- and application-independent company data folder.
@ SL_EXECUTABLE_DIRECTORY
Path to the directory where the executable file is located.
@ SL_EXECUTABLE_FILE
Path to the exectuable file.
@ SL_SHARED_APPDATA_DIRECTORY
User-independent application's data folder.
@ SL_WORKING_DIRECTORY
Working directory of the application.
@ SL_EXECUTABLE_CONTENT
Directory for the application's content.
Common interface for any file system item name (e.g directory, file or URL path)
Represents an input/output persistence archive for object serialization.
Common class for all classes which objects can be archived or restored from archive.
Contains interfaces and implementations of file system related components.