messagingappbase/msgavkon/muiu_internal/servicesinternal/inc/MuiuSendKeyAcceptingQueryDialog.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: MuiuSendKeyAcceptingQueryDialog  declaration
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 #ifndef __MUIUSENDKEYACCEPTINGQUERYDIALOG_H__
       
    21 #define __MUIUSENDKEYACCEPTINGQUERYDIALOG_H__
       
    22 
       
    23 
       
    24 //  INCLUDES
       
    25 #include <AknQueryDialog.h>
       
    26 #include <ConeResLoader.h>
       
    27 
       
    28 
       
    29 // CLASS DECLARATION
       
    30 
       
    31 /**
       
    32 * CMuiuSendKeyAcceptingQueryDialog
       
    33 * Query  dialog when asking from user if calling to sender of the message.
       
    34 */
       
    35 class CMuiuSendKeyAcceptingQueryDialog : public CAknQueryDialog
       
    36     {
       
    37     public:
       
    38 
       
    39         /**
       
    40          * Factory method that creates this object.
       
    41          * @param aNumber:	Number part of prompt
       
    42          * @param aName:	Name part of prompt
       
    43          * @param aTone
       
    44          * @return CMuiuSendKeyAcceptingQueryDialog pointer
       
    45          */
       
    46         static CMuiuSendKeyAcceptingQueryDialog* NewL( const TDesC& aNumber,
       
    47                                                        const TDesC& aName, 
       
    48                                                        const TTone& aTone = ENoTone );
       
    49 
       
    50         /**
       
    51          * Destructor.
       
    52          */
       
    53         ~CMuiuSendKeyAcceptingQueryDialog();
       
    54 
       
    55     protected: // from CAknQueryDialog
       
    56 
       
    57         /**
       
    58          * @param aKeyEvent key event
       
    59          * @param aType     event type
       
    60          * @return response
       
    61          */
       
    62         TKeyResponse OfferKeyEventL( const TKeyEvent& aKeyEvent, TEventCode aType );
       
    63 
       
    64         /**
       
    65          * @param aButtonId
       
    66          * @return
       
    67          */
       
    68         TBool OkToExitL( TInt aButtonId );
       
    69 
       
    70         /**
       
    71          * @param aButtonId
       
    72          * @return
       
    73          */
       
    74         TInt MappedCommandId( TInt aButtonId );
       
    75 
       
    76     private:
       
    77         /**
       
    78          * Constructor.
       
    79          * @param aTone
       
    80          */
       
    81         CMuiuSendKeyAcceptingQueryDialog( const TTone aTone );
       
    82 
       
    83         /**
       
    84          * Symbian OS default constructor can leave.
       
    85          * @param aNumber:	Number part of prompt
       
    86          * @param aName:	Name part of prompt
       
    87          */
       
    88         void ConstructL( const TDesC& aNumber,const TDesC& aName );
       
    89 
       
    90     private:
       
    91         RConeResourceLoader	iResources;
       
    92     };
       
    93 
       
    94 #endif  //__MUIUSENDKEYACCEPTINGQUERYDIALOG_H__
       
    95 
       
    96 // End of File