(svn r27647) -Codechange: Introduce file operations, and use it to replace most of SaveLoadDialogMode

This commit is contained in:
alberth
2016-09-04 12:56:23 +00:00
parent 2d7201781b
commit 75ad6d0100
6 changed files with 80 additions and 51 deletions

View File

@@ -24,6 +24,12 @@ enum AbstractFileType {
FT_INVALID = 7, ///< Invalid or unknown file type.
};
/** Operation performed on the file. */
enum FileOperation {
FOP_LOAD, ///< File is being loaded.
FOP_SAVE, ///< File is being saved.
};
/** Elements of a file system that are recognized. */
enum FiosType {
FIOS_TYPE_DRIVE,