Diligent Engine  v.2.4.g
Classes | Enumerations | Functions
Win32FileSystem.hpp File Reference
#include <memory>
#include "../../Basic/interface/BasicFileSystem.hpp"
#include "../../Basic/interface/StandardFile.hpp"
#include "../../../Primitives/interface/FlagEnum.h"

Go to the source code of this file.

Classes

class  WindowsFile
 
struct  FileDialogAttribs
 
struct  WindowsFileSystem
 

Enumerations

enum  FILE_DIALOG_FLAGS : Diligent::Uint32 {
  FILE_DIALOG_FLAG_NONE = 0x000, FILE_DIALOG_FLAG_DONT_ADD_TO_RECENT = 0x001, FILE_DIALOG_FLAG_FILE_MUST_EXIST = 0x002, FILE_DIALOG_FLAG_NO_CHANGE_DIR = 0x004,
  FILE_DIALOG_FLAG_OVERWRITE_PROMPT = 0x008
}
 
enum  FILE_DIALOG_TYPE : Diligent::Uint32 { FILE_DIALOG_TYPE_OPEN, FILE_DIALOG_TYPE_SAVE }
 

Functions

 DEFINE_FLAG_ENUM_OPERATORS (FILE_DIALOG_FLAGS)
 

Enumeration Type Documentation

◆ FILE_DIALOG_FLAGS

Enumerator
FILE_DIALOG_FLAG_NONE 
FILE_DIALOG_FLAG_DONT_ADD_TO_RECENT 

Prevents the system from adding a link to the selected file in the file system directory that contains the user's most recently used documents.

FILE_DIALOG_FLAG_FILE_MUST_EXIST 

Only existing files can be opened.

FILE_DIALOG_FLAG_NO_CHANGE_DIR 

Restores the current directory to its original value if the user changed the directory while searching for files.

FILE_DIALOG_FLAG_OVERWRITE_PROMPT 

Causes the Save As dialog box to show a message box if the selected file already exists.

◆ FILE_DIALOG_TYPE

Enumerator
FILE_DIALOG_TYPE_OPEN 
FILE_DIALOG_TYPE_SAVE 

Function Documentation

◆ DEFINE_FLAG_ENUM_OPERATORS()

DEFINE_FLAG_ENUM_OPERATORS ( FILE_DIALOG_FLAGS  )