pkiutilities/securitydialognotifiersrv/inc/securitydialogoperation.h
changeset 53 25dd1e8b2663
parent 48 6ed68423b759
equal deleted inserted replaced
48:6ed68423b759 53:25dd1e8b2663
    23 class MSecurityDialogOperationObserver;
    23 class MSecurityDialogOperationObserver;
    24 
    24 
    25 
    25 
    26 /**
    26 /**
    27  * CSecurityDialogOperation is a base class for different kinds of operations
    27  * CSecurityDialogOperation is a base class for different kinds of operations
    28  * defined for security dialogs in /epoc32/include/platform/secdlgimpldefs.h.
    28  * defined for security dialogs in secdlgimpldefs.h. TSecurityDialogOperation
    29  * TSecurityDialogOperation lists the possible operations. A derived class
    29  * lists the possible operations. A derived class implements each operation
    30  * implements each operation separately. This base class works as common API
    30  * separately. This base class works as common API between different operation
    31  * between different operation classes and the main CSecurityDialog class.
    31  * classes and the main CSecurityDialog class.
    32  */
    32  */
    33 NONSHARABLE_CLASS( CSecurityDialogOperation ) : public CActive
    33 NONSHARABLE_CLASS( CSecurityDialogOperation ) : public CActive
    34     {
    34     {
    35     protected:  // constructor
    35     protected:  // constructor
    36         CSecurityDialogOperation( MSecurityDialogOperationObserver& aObserver,
    36         CSecurityDialogOperation( MSecurityDialogOperationObserver& aObserver,
    44         virtual void CancelOperation() = 0;
    44         virtual void CancelOperation() = 0;
    45 
    45 
    46     protected:  // from CActive
    46     protected:  // from CActive
    47         TInt RunError( TInt aError );
    47         TInt RunError( TInt aError );
    48 
    48 
       
    49     protected:  // new functions
       
    50         void ShowWarningNoteL( const TDesC& aMessage );
       
    51 
    49     protected:  // data
    52     protected:  // data
    50         MSecurityDialogOperationObserver& iObserver;
    53         MSecurityDialogOperationObserver& iObserver;
    51         RMessage2 iMessage;
    54         RMessage2 iMessage;
    52         const TInt iReplySlot;
    55         const TInt iReplySlot;
    53     };
    56     };