Public Member Functions | |
| virtual | ~COandXDocument () |
| virtual CEikAppUi * | CreateAppUiL () |
| virtual void | StoreL (CStreamStore &aStore, CStreamDictionary &aStreamDic) const |
| virtual void | RestoreL (const CStreamStore &aStore, const CStreamDictionary &aStreamDic) |
| virtual CFileStore * | OpenFileL (TBool aDoOpen, const TDesC &aFilename, RFs &aFs) |
| virtual CEikAppUi * | CreateAppUiL () |
| virtual void | StoreL (CStreamStore &aStore, CStreamDictionary &aStreamDic) const |
| virtual void | RestoreL (const CStreamStore &aStore, const CStreamDictionary &aStreamDic) |
| virtual CFileStore * | OpenFileL (TBool aDoOpen, const TDesC &aFilename, RFs &aFs) |
Static Public Member Functions | |
| static COandXDocument * | NewL (CEikApplication &aApp) |
| static COandXDocument * | NewL (CEikApplication &aApp) |
Standard document class creates the application's UI, and stores and restores the game state.
Definition at line 27 of file oandxdocument.h.
| COandXDocument::~COandXDocument | ( | ) | [virtual] |
This d'tor is empty but defining it here ensures that only one instance is generated.
Definition at line 49 of file oandxdocument.cpp.
| COandXDocument * COandXDocument::NewL | ( | CEikApplication & | aApp | ) | [static] |
Factory function allocates new initialized document object.
| aApp | The application object, which is used to initialize the newly-created document object. |
Definition at line 21 of file oandxdocument.cpp.
| CEikAppUi * COandXDocument::CreateAppUiL | ( | ) | [virtual] |
Implement CEikDocument by creating a new app UI object.
Definition at line 58 of file oandxdocument.cpp.
| void COandXDocument::StoreL | ( | CStreamStore & | aStore, | |
| CStreamDictionary & | aStreamDic | |||
| ) | const [virtual] |
Override CEikDocument by storing the current game state.
| aStore | Stream store whose streams will describe the game. | |
| aStreamDic | On exit associates stream UIDs with the corresponding stream IDs. |
Definition at line 71 of file oandxdocument.cpp.
| void COandXDocument::RestoreL | ( | const CStreamStore & | aStore, | |
| const CStreamDictionary & | aStreamDic | |||
| ) | [virtual] |
Override CEikDocument by restoring a game from the supplied stream store.
| aStore | Stream store which contains the externalized game. | |
| aStreamDic | Associates stream UIDs with the corresponding stream IDs. |
Definition at line 85 of file oandxdocument.cpp.
| CFileStore * COandXDocument::OpenFileL | ( | TBool | aDoOpen, | |
| const TDesC & | aFilename, | |||
| RFs & | aFs | |||
| ) | [virtual] |
Overrides CAknDocument by directly calling CEikDocument::OpenFileL. This function must be defined for S60 because the CAknDocument implementation of OpenFileL does not support document-based applications.
| aDoOpen | Whether should open an existing file instead of creating a new file. | |
| aFilename | The path and name of the file to open or create. | |
| aFs | File server session to use. |
Definition at line 98 of file oandxdocument.cpp.
1.6.2