This page was last modified 21:06, 13 December 2007.
CMPFileManager:
From Forum Nokia Wiki
CMPFileManager deals with all file operations, such as copying the file from source to sink, during copy user can always cancel copy, allowing to move a file instead of copy if needed, etc.
Below is the example code which demostrate CMPFileManager usuage.
_LIT(oldFile,"Old File Name"); _LIT(newFile,"New File Name"); void CTestMPFileManagerAppUi::ContructL() { ... CMPFileManager * iFileMgr = CMPFileManager::NewL(); ... } void CTestMPFileManagerAppUi::StartCopyOperationL() { //Starts asynchronous copy operation iFileMgr->StartCopyOperationL(this,oldFile,newFile); } void CTestMPFileManagerAppUi::CancelCopy() { //Cancels asynchronous copy operation iFileMgr->CancelCopy(); }
| Related Discussions | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| 关于S60_3rd_SDK_FP1_API_Plug-In_Pack_v1的使用 | bruceday2007 | Symbian | 4 | 2007-10-30 03:34 |
