uifw/AknGlobalUI/OldStyleNotif/Inc/AknListQueryNotificationDialog.h
changeset 0 2f259fa3e83a
child 18 0aa5fbdfbc30
equal deleted inserted replaced
-1:000000000000 0:2f259fa3e83a
       
     1 /*
       
     2 * Copyright (c) 2002-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 "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:  Global list query dialog declaration.
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef __AKNLISTQUERYNOTIFICATIONDIALOG__
       
    19 #define __AKNLISTQUERYNOTIFICATIONDIALOG__
       
    20 
       
    21 #include <AknQueryDialog.h>
       
    22 #include <aknlistquerydialog.h>
       
    23 
       
    24 class MAknListQueryNotificationCallback
       
    25     {
       
    26 public:
       
    27     virtual void QueryDismissedL(TInt aResult) = 0;
       
    28     };
       
    29 
       
    30 NONSHARABLE_CLASS(CAknListQueryNotificationDialog) : public CAknListQueryDialog
       
    31     {
       
    32 public:
       
    33     CAknListQueryNotificationDialog( 
       
    34         TInt* aIndex,
       
    35         MAknListQueryNotificationCallback* aCallBack,
       
    36         CAknListQueryNotificationDialog** aSelfPtr);
       
    37 
       
    38     ~CAknListQueryNotificationDialog();
       
    39     
       
    40     TKeyResponse OfferKeyEventL( 
       
    41         const TKeyEvent& aKeyEvent,
       
    42         TEventCode aType);
       
    43     
       
    44     void HandleListBoxEventL(CEikListBox* aListBox, 
       
    45                                               TListBoxEvent aEventType);
       
    46 
       
    47 protected:
       
    48     TBool OkToExitL(TInt aButtonId);
       
    49     
       
    50 private: 
       
    51     virtual void CEikDialog_Reserved_1();
       
    52     virtual void CEikDialog_Reserved_2();   
       
    53     virtual void CAknDialog_Reserved();
       
    54     virtual void CAknQueryDialog_Reserved();   
       
    55     MAknListQueryNotificationCallback* iCallBack;
       
    56     CAknListQueryNotificationDialog** iSelfPtr;
       
    57     TBool iPanning;
       
    58     TBool iFlick;
       
    59     };
       
    60 
       
    61 #endif // __AKNLISTQUERYNOTIFICATIONDIALOG__
       
    62 
       
    63 // End of file