mmsharing/mmshui/inc/musuiactivequerydialog.h
branchRCL_3
changeset 33 bc78a40cd63c
parent 0 f0cf47e981f9
equal deleted inserted replaced
32:73a1feb507fb 33:bc78a40cd63c
       
     1 /*
       
     2 * Copyright (c) 2005 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:  The MUS application's UI class.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 #ifndef MUSUIACTIVEQUERYDIALOG_H
       
    21 #define MUSUIACTIVEQUERYDIALOG_H
       
    22 
       
    23 //#include "musuiactivetimerobserver.h"
       
    24 
       
    25 #include <e32base.h>
       
    26 
       
    27 class CAknGlobalConfirmationQuery;
       
    28 class MMusUiQueryObserver;
       
    29 
       
    30 /**
       
    31  *
       
    32  *
       
    33  *
       
    34  * @lib musui.exe
       
    35  */
       
    36 class CMusUiActiveQueryDialog : public CActive
       
    37     {
       
    38     
       
    39 public: // constructor
       
    40 
       
    41     static CMusUiActiveQueryDialog* NewL( MMusUiQueryObserver& aObserver );
       
    42     
       
    43     ~CMusUiActiveQueryDialog();
       
    44 
       
    45 private:
       
    46 
       
    47     CMusUiActiveQueryDialog( MMusUiQueryObserver& aObserver );
       
    48 
       
    49     void ConstructL();
       
    50 
       
    51 
       
    52 public: // new functions
       
    53 
       
    54     void ShowL( const TDesC& aPrompt );
       
    55 
       
    56 
       
    57 protected: // from CActive
       
    58 
       
    59     void RunL();
       
    60     
       
    61     void DoCancel();
       
    62     
       
    63     TInt RunError( TInt aError );
       
    64 
       
    65 
       
    66 private: // data
       
    67 
       
    68     /** A global confirmation query. Own. */
       
    69     CAknGlobalConfirmationQuery* iGlobalQuery;
       
    70     
       
    71     /** Observer. */
       
    72     MMusUiQueryObserver& iObserver;
       
    73     };
       
    74 
       
    75 
       
    76 #endif // MUSUIACTIVEQUERYDIALOG_H
       
    77 
       
    78 // end of file