mediasettings/feedsettingsviews/inc/feedsettingsviewremoveservicequerydialog.h
changeset 0 96612d01cf9f
equal deleted inserted replaced
-1:000000000000 0:96612d01cf9f
       
     1 /*
       
     2 * Copyright (c) 2006-2008 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 the License "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:    Query dialog class*
       
    15 */
       
    16 
       
    17 
       
    18 
       
    19 
       
    20 #ifndef CIPTVREMOVESERVICEQUERYDIALOG_H
       
    21 #define CIPTVREMOVESERVICEQUERYDIALOG_H
       
    22 
       
    23 // INCLUDES
       
    24 #include <e32std.h>
       
    25 #include <aknmessagequerydialog.h> 
       
    26 
       
    27 /**
       
    28  *  Class for service remoce confirmation query
       
    29  *
       
    30  *  @lib vcsettingsview.lib
       
    31  *  @since S60 3.2
       
    32  */
       
    33 
       
    34 // CLASS DECLARATION
       
    35 NONSHARABLE_CLASS( CVcxNsSettingsViewRemoveServiceQueryDialog ) : public CAknMessageQueryDialog
       
    36     {
       
    37     
       
    38 public:
       
    39 
       
    40     /**
       
    41      * @param aMessageText Message text inside query.
       
    42      */
       
    43     static CVcxNsSettingsViewRemoveServiceQueryDialog* NewL( const TDesC& aMessageText );
       
    44 
       
    45     virtual ~CVcxNsSettingsViewRemoveServiceQueryDialog();
       
    46 
       
    47 private: // New functions           
       
    48 
       
    49     CVcxNsSettingsViewRemoveServiceQueryDialog( );
       
    50 
       
    51     /**
       
    52      * @param aMessageText Message text inside query.
       
    53      */
       
    54     void ConstructL( const TDesC& aMessageText );
       
    55 
       
    56     /**
       
    57      * From @ CCoeControl.
       
    58      * Handles key events.
       
    59      */
       
    60     TKeyResponse OfferKeyEventL(const TKeyEvent& aKeyEvent, TEventCode );
       
    61 
       
    62     /**
       
    63      * From CAknQueryDialog
       
    64      * Called to confirm that's OK to exit.
       
    65      */
       
    66     TBool OkToExitL( TInt aButtonId );
       
    67 
       
    68     /**
       
    69      * From CAknQueryDialog
       
    70      * Called by OfferkeyEventL(), gives a change to dismiss the query even with
       
    71      * keys different than Enter of Ok.
       
    72      * @param aMessageText Message text inside query.
       
    73      */
       
    74     TBool NeedToDismissQueryL(const TKeyEvent& aKeyEvent);
       
    75 
       
    76     /**
       
    77      * From CAknQueryDialog
       
    78      * Acts on the menu selection if menu is showing.
       
    79      */
       
    80     void ProcessCommandL( TInt aCommandId );
       
    81      
       
    82     };
       
    83 
       
    84 #endif  // CIPTVREMOVESERVICEQUERYDIALOG_H