pkiutilities/CertmanUi/INC/Certmanuidialogs.h
changeset 1 d5423fbb4f29
parent 0 164170e6151a
equal deleted inserted replaced
0:164170e6151a 1:d5423fbb4f29
     1 /*
     1 /*
     2 * Copyright (c) 2003-2007 Nokia Corporation and/or its subsidiary(-ies). 
     2 * Copyright (c) 2003-2010 Nokia Corporation and/or its subsidiary(-ies).
     3 * All rights reserved.
     3 * All rights reserved.
     4 * This component and the accompanying materials are made available
     4 * This component and the accompanying materials are made available
     5 * under the terms of "Eclipse Public License v1.0"
     5 * under the terms of "Eclipse Public License v1.0"
     6 * which accompanies this distribution, and is available
     6 * which accompanies this distribution, and is available
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
    13 *
    13 *
    14 * Description:   Declaration of the CCertManUIWaitDialog class
    14 * Description:   Declaration of the CCertManUIWaitDialog class
    15 *
    15 *
    16 */
    16 */
    17 
    17 
       
    18 #ifndef CERTMANUIDIALOGS_H
       
    19 #define CERTMANUIDIALOGS_H
    18 
    20 
    19 #ifndef     CERTMANUIDIALOGS_H
       
    20 #define     CERTMANUIDIALOGS_H
       
    21 
       
    22 // INCLUDES
       
    23 #include <e32base.h>
    21 #include <e32base.h>
    24 
       
    25 // FORWARD DECLARATIONS
       
    26 
    22 
    27 class CAknGlobalNote;
    23 class CAknGlobalNote;
    28 class CAknGlobalConfirmationQuery;
    24 class CAknGlobalConfirmationQuery;
    29 class CAknWaitDialog;
    25 class CAknWaitDialog;
    30 
    26 
    31 // CLASS DECLARATION
       
    32 
       
    33 /**
    27 /**
    34 *  CCertManUIKeeper view control class.
    28  *  CCertManUIWaitDialog can be used to display deleting wait note,
    35 *
    29  *  or progress wait note.
    36 *
    30  */
    37 */
       
    38 class CCertManUIWaitDialog: public CBase
    31 class CCertManUIWaitDialog: public CBase
    39     {
    32     {
    40     public: // functions
    33     public: // functions
    41 
       
    42         /**
    34         /**
    43         * Default Constructor
    35          * Default constructor.
    44         */
    36          */
    45         CCertManUIWaitDialog();
    37         CCertManUIWaitDialog();
    46 
    38 
    47         /**
    39         /**
    48         * Destructor
    40          * Destructor.
    49         */
    41          */
    50         ~CCertManUIWaitDialog();
    42         ~CCertManUIWaitDialog();
    51 
    43 
    52         /**
    44         /**
    53         * Display dialog
    45          * Display wait dialog.
    54         * @param selector for progress or delete dialog
    46          * @param Selector for progress or delete dialog, must be either
    55         */
    47          * ECertmanUiDeleteDialog or ECertmanUiWaitDialog.
    56         void StartWaitDialogL(TInt aDialogSelector);
    48          */
       
    49         void StartWaitDialogL( TInt aDialogSelector );
    57 
    50 
    58         /**
    51         /**
    59         * Close dialog.
    52          * Closes dialog.
    60         */
    53          */
    61 
       
    62         void CloseWaitDialogL();
    54         void CloseWaitDialogL();
    63 
    55 
    64 
       
    65     private:    // Functions
       
    66 
       
    67 
       
    68         static void CleanupWaitDialog(TAny* aAny);
       
    69 
       
    70 
       
    71     private:    // Data
    56     private:    // Data
    72 
    57         CAknWaitDialog* iDialog;
    73         /**
    58         TInt iOpenCount;
    74         * For wait note
       
    75         */
       
    76         CAknWaitDialog*     iDialog;
       
    77 
       
    78         /**
       
    79         *  Flag whether dialof is being displayed
       
    80         */
       
    81         TBool               iDisplayed;
       
    82 
       
    83     };
    59     };
    84 
    60 
    85 #endif //   CERTMANUIDIALOGS_H
    61 #endif  // CERTMANUIDIALOGS_H
    86 
    62 
    87 // End of File