(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 ac72a6b1ed
commit ec2b2fad58
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,