CMsvProgressReporterOperation Class Reference
class CMsvProgressReporterOperation : public CMsvOperation |
Progress reporter operation.
A 'super-operation' implementing the abstract progress reporter mixin interface. This class encapsulates the operation; which provides the progress; and the dialog that displays it.
Inherits from
- CMsvProgressReporterOperation
Public Member Functions |
---|
| ~CMsvProgressReporterOperation() |
IMPORT_C void | MakeProgressVisibleL(TBool) |
IMPORT_C CMtmStore & | MtmStore() |
IMPORT_C CMsvProgressReporterOperation * | NewL(CMsvSession &, TRequestStatus &, TInt) |
IMPORT_C CMsvProgressReporterOperation * | NewL(CMsvSession &, TRequestStatus &) |
IMPORT_C CMsvProgressReporterOperation * | NewL(TBool, CMsvSession &, TRequestStatus &, TInt) |
IMPORT_C CMsvProgressReporterOperation * | NewL(TBool, CMsvSession &, TRequestStatus &) |
IMPORT_C CMsvProgressReporterOperation * | NewL(TBool, TBool, CMsvSession &, TRequestStatus &, TInt) |
IMPORT_C CMsvProgressReporterOperation * | NewL(CMsvSession &, TRequestStatus &, TInt, TUid) |
IMPORT_C const TDesC8 & | ProgressL() |
IMPORT_C void | PublishNewDialogL(TInt, TUid) |
IMPORT_C TRequestStatus & | RequestStatus() |
IMPORT_C void | SetAnimationL(TInt) |
IMPORT_C void | SetCanCancelL(TBool) |
void | SetCompleteWithExit(TBool) |
IMPORT_C void | SetHelpContext(const TCoeHelpContext &) |
IMPORT_C void | SetOperationL(CMsvOperation *) |
IMPORT_C void | SetProgressDecoder(MMsvProgressDecoder &) |
IMPORT_C void | SetProgressVisibilityDelay(TBool) |
IMPORT_C void | SetSeeding(TBool) |
IMPORT_C void | SetTitleL(const TDesC &) |
IMPORT_C void | SetTitleL(TInt) |
IMPORT_C void | UnsetProgressDecoder() |
Constructor & Destructor Documentation
CMsvProgressReporterOperation(CMsvSession &, TRequestStatus &, TInt)
~CMsvProgressReporterOperation()
IMPORT_C | ~CMsvProgressReporterOperation | ( | ) | [virtual] |
Member Functions Documentation
CompleteObserver(TInt)
void | CompleteObserver | ( | TInt | aCode | ) | [private] |
internal Completes observer with the aCode
ConstructL(TBool, TBool)
void | ConstructL | ( | TBool | aProgressVisibilityDelayOff = EFalse, |
| TBool | aDisplayWaitAnimation = ETrue |
| ) | [private] |
Parameters
TBool aProgressVisibilityDelayOff = EFalse | |
TBool aDisplayWaitAnimation = ETrue | |
ConstructL(TInt, TUid, TBool, TBool)
void | ConstructL | ( | TInt | aDialogIndex, |
| TUid | aCategoryUid, |
| TBool | aProgressVisibilityDelayOff = EFalse, |
| TBool | aDisplayWaitAnimation = ETrue |
| ) | [private] |
Symbian OS constructor This method is used only when progress dialog is shown also in cover side.
Parameters
TInt aDialogIndex | |
TUid aCategoryUid | |
TBool aProgressVisibilityDelayOff = EFalse | |
TBool aDisplayWaitAnimation = ETrue | |
DoCancel()
void | DoCancel | ( | ) | [protected, virtual] |
MakeProgressVisibleL(TBool)
IMPORT_C void | MakeProgressVisibleL | ( | TBool | aVisible | ) | [virtual] |
NewL(CMsvSession &, TRequestStatus &, TInt)
NewL(CMsvSession &, TRequestStatus &)
NewL(TBool, CMsvSession &, TRequestStatus &, TInt)
NewL(TBool, CMsvSession &, TRequestStatus &)
NewL(TBool, TBool, CMsvSession &, TRequestStatus &, TInt)
NewL(CMsvSession &, TRequestStatus &, TInt, TUid)
Parameters
CMsvSession & aMsvSession | |
TRequestStatus & aObserverRequestStatus | |
TInt aDialogIndex | unique index to identify a dialog within the category. |
TUid aCategoryUid | category uid |
ProgressL()
IMPORT_C const TDesC8 & | ProgressL | ( | ) | [virtual] |
PublishNewDialogL(TInt, TUid)
IMPORT_C void | PublishNewDialogL | ( | TInt | aDialogIndex, |
| TUid | aCategoryUid |
| ) | |
Publish new dialog on secondary display. This method first dismisses the original dialog both from primary and secondary displays. After that a new dialog is created and it is published on secondary display with given parameters.
Parameters
TInt aDialogIndex | unique index to identify a dialog within the category. |
TUid aCategoryUid | category uid |
RunL()
void | RunL | ( | ) | [protected, virtual] |
SetAnimationL(TInt)
IMPORT_C void | SetAnimationL | ( | TInt | aResourceId | ) | [virtual] |
SetCanCancelL(TBool)
IMPORT_C void | SetCanCancelL | ( | TBool | aCanCancel | ) | [virtual] |
Sets if operation can be cancelled by user or not
SetCompleteWithExit(TBool)
void | SetCompleteWithExit | ( | TBool | aCompleteWithExit | ) | |
SetCompleteWithExit This function sets complete code
SetHelpContext(const TCoeHelpContext &)
SetOperationL(CMsvOperation *)
Sets operations Takes ownership of the operation so this class will delete the operation.
SetProgressDecoder(MMsvProgressDecoder &)
SetProgressVisibilityDelay(TBool)
IMPORT_C void | SetProgressVisibilityDelay | ( | TBool | aDelay | ) | |
SetSeeding(TBool)
IMPORT_C void | SetSeeding | ( | TBool | aSeed | ) | |
SetTitleL(const TDesC &)
IMPORT_C void | SetTitleL | ( | const TDesC & | aTitle | ) | [virtual] |
SetTitleL(TInt)
IMPORT_C void | SetTitleL | ( | TInt | aTitleResourceId | ) | [virtual] |
UnsetProgressDecoder()
IMPORT_C void | UnsetProgressDecoder | ( | ) | [virtual] |
Removes progress decoder.
Member Data Documentation
TBool
iCompleteWithExit
TBool
| iCompleteWithExit | [private] |
CMsvWrappableProgressDialog * iDialog
TBool
iDisplayWaitAnimation
TBool
| iDisplayWaitAnimation | [private] |
TBufC8< 1 > iDummyProgress
TBufC8< 1 > | iDummyProgress | [private] |
TInt
iImageIndex
TInt
| iImageIndex | [private] |
CMsvOperation * iOperation
HBufC * iProgressString
HBufC * | iProgressString | [private] |
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.