javauis/eswt_akn/eswtapifacade/inc/swtpopupformproxyprivate.h
branchRCL_3
changeset 14 04becd199f91
equal deleted inserted replaced
13:f5050f1da672 14:04becd199f91
       
     1 /*
       
     2 * Copyright (c) 2007 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:  THIS FILE IS NOT INCLUDED INTO ECLIPSE CVS DELIVERY
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef SWTPOPUPFORMPROXYPRIVATE_H
       
    20 #define SWTPOPUPFORMPROXYPRIVATE_H
       
    21 
       
    22 
       
    23 #include <AknUtils.h>
       
    24 #include <AknPopupform.h> // DOMAIN API
       
    25 
       
    26 
       
    27 /**
       
    28  * CSwtPopupFormProxyPrivate
       
    29  * @lib eswtapifacade.dll
       
    30  */
       
    31 class CSwtPopupFormProxyPrivate
       
    32         : public CAknPopupForm
       
    33 {
       
    34 // Own functions
       
    35 public:
       
    36     static CSwtPopupFormProxyPrivate* NewL(const TTone& aTone,
       
    37                                            const TInt aMsgBoxMenuBarResourceId,
       
    38                                            const TInt aSwtCmdYes, const TInt aSwtCmdNo, const TInt aTimeOut = 0);
       
    39     virtual ~CSwtPopupFormProxyPrivate();
       
    40 
       
    41 // From CEikDialog
       
    42 public:
       
    43     TInt RunLD();
       
    44 
       
    45 // From MEikCommandObserver
       
    46 public:
       
    47     void ProcessCommandL(TInt aCommandId);
       
    48 
       
    49 // From CCoeControl
       
    50 public:
       
    51     TKeyResponse OfferKeyEventL(const TKeyEvent& aKeyEvent, TEventCode aType);
       
    52 #ifdef RD_SCALABLE_UI_V2
       
    53     void HandlePointerEventL(const TPointerEvent& aPointerEvent);
       
    54 #endif // RD_SCALABLE_UI_V2
       
    55 
       
    56 // From CEikDialog
       
    57 protected:
       
    58     TInt MappedCommandId(TInt aButtonId);
       
    59 
       
    60 // From CAknDialog
       
    61 protected:
       
    62     TBool OkToExitL(TInt aButtonId);
       
    63 
       
    64 // Own functions
       
    65 private:
       
    66     CSwtPopupFormProxyPrivate(const TTone& aTone,
       
    67                               const TInt aMsgBoxMenuBarResourceId,
       
    68                               const TInt aSwtCmdYes, const TInt aSwtCmdNo, const TInt aTimeOut = 0);
       
    69 
       
    70 // Data
       
    71 private:
       
    72     const TInt iMsgBoxMenuBarResourceId;
       
    73     const TInt iSwtCommandYes;
       
    74     const TInt iSwtCommandNo;
       
    75     const TInt iTimeOut;
       
    76 };
       
    77 
       
    78 #endif // SWTPOPUPFORMPROXYPRIVATE_H