javauis/eswt_akn/org.eclipse.ercp.swt.s60/native/inc/swtpopupformproxy.h
branchRCL_3
changeset 14 04becd199f91
equal deleted inserted replaced
13:f5050f1da672 14:04becd199f91
       
     1 /*******************************************************************************
       
     2  * Copyright (c) 2007, 2010 Nokia Corporation and/or its subsidiary(-ies).
       
     3  * All rights reserved. This program and the accompanying materials
       
     4  * are made available under the terms of the Eclipse Public License v1.0
       
     5  * which accompanies this distribution, and is available at
       
     6  * http://www.eclipse.org/legal/epl-v10.html
       
     7  *
       
     8  * Contributors:
       
     9  *     Nokia Corporation - S60 implementation
       
    10  *******************************************************************************/
       
    11 
       
    12 
       
    13 #ifndef SWTPOPUPFORMPROXY_H
       
    14 #define SWTPOPUPFORMPROXY_H
       
    15 
       
    16 
       
    17 #include <AknUtils.h>
       
    18 
       
    19 
       
    20 class CSwtPopupFormProxyPrivate;
       
    21 
       
    22 
       
    23 /**
       
    24  * CSwtPopupFormProxy
       
    25  * @lib eswtapifacade.dll
       
    26  */
       
    27 class CSwtPopupFormProxy
       
    28         : public CBase
       
    29 {
       
    30 // Own functions
       
    31 public:
       
    32     IMPORT_C static CSwtPopupFormProxy* NewL(const TDesC& aText, const TDesC& aTitle,
       
    33             const TInt aHeadResourceId, const TInt aSpaceResourceId, const TInt aDlgResourceId,
       
    34             const TInt aBtnResourceId, const TInt aAniResourceId, const TInt aStyle,
       
    35             const TInt aMsgBoxMenuBarResourceId,  const TInt aSwtCmdYes,
       
    36             const TInt aSwtCmdNo, const TInt aTimeOut = 0,
       
    37             const CEikImage* aImage = NULL, const TInt aImageResourceId = 0);
       
    38     virtual ~CSwtPopupFormProxy();
       
    39     IMPORT_C TInt RunL();
       
    40     IMPORT_C void OfferResourceChangeL(const TInt aType, const TInt aAnimation);
       
    41 
       
    42 // Own functions
       
    43 private:
       
    44     CSwtPopupFormProxy();
       
    45     void ConstructL(const TDesC& aText, const TDesC& aTitle,
       
    46                     const TInt aHeadResourceId, const TInt aSpaceResourceId, const TInt aDlgResourceId,
       
    47                     const TInt aBtnResourceId, const TInt aAniResourceId, const TInt aStyle,
       
    48                     const TInt aMsgBoxMenuBarResourceId, const TInt aSwtCmdYes,
       
    49                     const TInt aSwtCmdNo, const TInt aTimeOut,
       
    50                     const CEikImage* aImage, const TInt aImageResourceId);
       
    51 
       
    52 // Data
       
    53 private:
       
    54     CSwtPopupFormProxyPrivate* iPopupForm; // own
       
    55     CSwtPopupFormProxyPrivate* iPopupFormNoDelete; // not own
       
    56 };
       
    57 
       
    58 #endif // SWTPOPUPFORMPROXY_H