ezEngine  Milestone 7
ezFileSystem::FileEventType Struct Reference

Describes the type of events that are broadcast by the ezFileSystem. More...

#include <FileSystem.h>

Public Types

enum  Enum {
  None, OpenFileAttempt, OpenFileSucceeded, OpenFileFailed,
  CreateFileAttempt, CreateFileSucceeded, CreateFileFailed, CloseFile,
  AddDataDirectorySucceeded, AddDataDirectoryFailed, RemoveDataDirectory, DeleteFile
}
 

Detailed Description

Describes the type of events that are broadcast by the ezFileSystem.

Member Enumeration Documentation

Enumerator
None 

None. Should not occur.

OpenFileAttempt 

A file is about to be opened for reading.

OpenFileSucceeded 

A file has been successfully opened for reading.

OpenFileFailed 

Opening a file for reading failed. Probably because it doesn't exist.

CreateFileAttempt 

A file is about to be opened for writing.

CreateFileSucceeded 

A file has been successfully opened for writing.

CreateFileFailed 

Opening a file for writing failed.

CloseFile 

A file was closed.

AddDataDirectorySucceeded 

A data directory was successfully added.

AddDataDirectoryFailed 

Adding a data directory failed. No factory could handle it (or there were none).

RemoveDataDirectory 

A data directory was removed. IMPORTANT: This is where ResourceManagers should check if some loaded resources need to be purged.

DeleteFile 

A file is about to be deleted.


The documentation for this struct was generated from the following file: