uifw/AknGlobalUI/OldStyleNotif/Inc/AknSystemListPopup.h
changeset 0 2f259fa3e83a
child 18 fcdfafb36fe7
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:  Plugin declaration of global list query.
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef __AKNSYSTEMLISTPOPUP_H__
       
    19 #define __AKNSYSTEMLISTPOPUP_H__
       
    20 
       
    21 #include <e32std.h>
       
    22 #include <e32base.h>
       
    23 #include <eiknotapi.h>
       
    24 #include <eikcmobs.h>
       
    25 #include <AknNotifyStd.h>
       
    26 #include "AknListQueryNotificationDialog.h"
       
    27 
       
    28 NONSHARABLE_CLASS(CAknGlobalListQuerySubject): 
       
    29     public CBase, 
       
    30     public MEikSrvNotifierBase2, 
       
    31     public MAknListQueryNotificationCallback
       
    32     {
       
    33 public:
       
    34     static CAknGlobalListQuerySubject* NewL();
       
    35     virtual ~CAknGlobalListQuerySubject();
       
    36     
       
    37     // From MEikSrvNotifierBase.
       
    38     void Release();
       
    39     TNotifierInfo RegisterL();
       
    40     TNotifierInfo Info() const;
       
    41     TPtrC8 StartL(const TDesC8& aBuffer);
       
    42     void StartL(const TDesC8& aBuffer, TInt aReplySlot, const RMessagePtr2& aMessage);
       
    43     TPtrC8 UpdateL(const TDesC8& aBuffer);
       
    44     void Cancel();
       
    45     
       
    46     // From MAknListQueryNotificationCallback.
       
    47     void QueryDismissedL(TInt aResult);
       
    48 
       
    49 private:
       
    50     CAknGlobalListQuerySubject();
       
    51     void ConstructL();
       
    52 
       
    53 private:
       
    54     CAknListQueryNotificationDialog* iDlg;
       
    55     RMessagePtr2 iMessage;
       
    56     const TAny* iReturnVal;
       
    57     TBool iPending;
       
    58     TNotifierInfo iInfo;
       
    59 
       
    60     CDesCArrayFlat* iArray;
       
    61     HBufC* iHeading;
       
    62 
       
    63     TInt iSelectFirst; // Which item in the array will be selected first.
       
    64     TPtrC iArrayText;  // Array text
       
    65     TInt iListIndex;
       
    66     TBool iAppsKeySuppressed;
       
    67     
       
    68     CEikonEnv* iStoredEikonEnv;
       
    69     };
       
    70 
       
    71 #endif // __AKNSYSTEMLISTPOPUP_H__
       
    72 
       
    73 // End of file