Implement XDG file layout
This commit is contained in:
committed by
Vadim Zeitlin
parent
8d5d00db9d
commit
d56d127d3f
@@ -135,6 +135,19 @@ public:
|
||||
Dir_Videos
|
||||
};
|
||||
|
||||
enum
|
||||
{
|
||||
/**
|
||||
Use the classic file layout
|
||||
*/
|
||||
FileLayout_Classic,
|
||||
|
||||
/**
|
||||
Use a XDG styled file layout (Unix)
|
||||
*/
|
||||
FileLayout_XDG
|
||||
};
|
||||
|
||||
/**
|
||||
MSW-specific function undoing the effect of IgnoreAppSubDir() calls.
|
||||
|
||||
@@ -444,6 +457,19 @@ public:
|
||||
*/
|
||||
void UseAppInfo(int info);
|
||||
|
||||
/**
|
||||
Returns the current file layout
|
||||
Valid values for @a are:
|
||||
- @c FileLayout_Classic,
|
||||
- @c FileLayout_XDG
|
||||
*/
|
||||
void SetFileLayout(int layout);
|
||||
|
||||
/**
|
||||
Returns the current file layout
|
||||
*/
|
||||
int GetFileLayout() const;
|
||||
|
||||
/**
|
||||
Return the file name which would be used by wxFileConfig as local,
|
||||
user-specific, file if it were constructed with @a basename.
|
||||
|
Reference in New Issue
Block a user