messagingappbase/msgerrorwatcher/inc/MsgErrorDisconnectDlg.h
changeset 0 72b543305e3a
equal deleted inserted replaced
-1:000000000000 0:72b543305e3a
       
     1 /*
       
     2 * Copyright (c) 2002 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:  
       
    15 *    CMsgErrorDisconnectDlg declaration file 
       
    16 *
       
    17 */
       
    18 
       
    19 
       
    20 
       
    21 #ifndef MSGERRORDISCONNECTDLG_H
       
    22 #define MSGERRORDISCONNECTDLG_H
       
    23 
       
    24 //  INCLUDES
       
    25 #include <e32base.h>
       
    26 #include <DisconnectDlgClient.h>
       
    27 
       
    28 // FORWARD DECLARATIONS
       
    29 
       
    30 // CLASS DECLARATION
       
    31 
       
    32 /**
       
    33 * CMsgErrorDisconnectDlg
       
    34 *
       
    35 * @lib msgerrorwatcher.dll
       
    36 * @since 2.6
       
    37 */
       
    38 class CMsgErrorDisconnectDlg : public CActive
       
    39     {
       
    40     public:     // construct / destruct
       
    41 
       
    42         /**
       
    43         * Two-phased constructor.
       
    44         *
       
    45         * @param aWatcher A pointer to CMsgErrorWatcher
       
    46         */
       
    47         static CMsgErrorDisconnectDlg* NewL();
       
    48 
       
    49         /**
       
    50         * Destructor.
       
    51         */
       
    52         virtual ~CMsgErrorDisconnectDlg();
       
    53 
       
    54         /**
       
    55         * For starting the active object.
       
    56         */
       
    57         void Start();
       
    58 
       
    59     private:
       
    60     
       
    61         /**
       
    62         * By default Symbian OS constructor is private.
       
    63         */
       
    64         void ConstructL();
       
    65 
       
    66         /**
       
    67         * Constructor.
       
    68         *
       
    69         * @param aWatcher A pointer to CMsgErrorWatcher
       
    70         */
       
    71         CMsgErrorDisconnectDlg();
       
    72 
       
    73         /**
       
    74         * From CActive
       
    75         */
       
    76         void RunL() ;
       
    77 
       
    78         /**
       
    79         * From CActive
       
    80         */
       
    81         void DoCancel();
       
    82 
       
    83     private:    // data
       
    84 
       
    85         RDisconnectDlgServer iDialogServer;
       
    86     };
       
    87 
       
    88 #endif
       
    89 
       
    90 // End of File