Public Types | Public Member Functions | List of all members
ifile::IFilePersistenceInfo Class Referenceabstract

Provide some information about file loader state. More...

#include <IFilePersistenceInfo.h>

Inheritance diagram for ifile::IFilePersistenceInfo:
istd::IPolymorphic ifile::CComposedFilePersistenceComp ifilegui::CFileDialogLoaderComp

Public Types

enum  OperationType { OT_UNKNOWN, OT_LOAD, OT_SAVE }
 
enum  PathType { PT_COMPLETE, OT_FILENAME, OT_DIR }
 

Public Member Functions

virtual QString GetLastFilePath (OperationType operationType=OT_UNKNOWN, PathType pathType=PT_COMPLETE) const =0
 Returns the last opened file name. More...
 
- Public Member Functions inherited from istd::IPolymorphic
virtual ~IPolymorphic ()
 

Detailed Description

Provide some information about file loader state.

Definition at line 21 of file IFilePersistenceInfo.h.

Member Enumeration Documentation

Enumerator
OT_UNKNOWN 
OT_LOAD 
OT_SAVE 

Definition at line 24 of file IFilePersistenceInfo.h.

Enumerator
PT_COMPLETE 
OT_FILENAME 
OT_DIR 

Definition at line 31 of file IFilePersistenceInfo.h.

Member Function Documentation

virtual QString ifile::IFilePersistenceInfo::GetLastFilePath ( OperationType  operationType = OT_UNKNOWN,
PathType  pathType = PT_COMPLETE 
) const
pure virtual

Returns the last opened file name.

Implemented in ifilegui::CFileDialogLoaderComp, and ifile::CComposedFilePersistenceComp.


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

© 2007-2017 Witold Gantzke and Kirill Lepskiy