You Are Here:

Community: Wiki

This page was last modified on 13 December 2007, at 21:06.

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 Wiki Articles

No related wiki articles found

Rate This

 
Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
京ICP备05048969号    Email Newsletters Press Terms & Conditions Privacy Policy Sitemap Contact Us © 2009 Nokia 
User Rating: qfnZuserE5FratingQNx5E2E0000X