javauis/eswt_akn/org.eclipse.ercp.swt.s60/native/inc/swtbrowservpnapitem.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 SWTBROWSERVPNAPITEM_H
       
    14 #define SWTBROWSERVPNAPITEM_H
       
    15 
       
    16 
       
    17 class CVpnApItem;
       
    18 
       
    19 
       
    20 /**
       
    21  * CSwtBrowserVpnApItem
       
    22  * @lib eswtapifacade.dll
       
    23  */
       
    24 class CSwtBrowserVpnApItem
       
    25         : public CBase
       
    26 {
       
    27 public:
       
    28 
       
    29     /**
       
    30      * Two-phased constructor.
       
    31      */
       
    32     IMPORT_C static  CSwtBrowserVpnApItem* NewL();
       
    33 
       
    34     /**
       
    35      * Destructor.
       
    36      */
       
    37     virtual ~CSwtBrowserVpnApItem();
       
    38     CVpnApItem& VpnApItem();
       
    39     IMPORT_C TInt ReadUint(const TUint aColumn, TUint32& aValue);
       
    40     IMPORT_C TInt ReadVpnApUid(TUint32& aValue);
       
    41     IMPORT_C TInt ReadRealIapId(TUint32& aValue);
       
    42 
       
    43 private:
       
    44 
       
    45     /**
       
    46      * Constructor.
       
    47      */
       
    48     CSwtBrowserVpnApItem();
       
    49 
       
    50     /**
       
    51      * Symbian 2nd phase constructor is private.
       
    52      */
       
    53     void ConstructL();
       
    54 
       
    55 private: // data
       
    56 
       
    57     /**
       
    58      * Pointer to VpnApItem
       
    59      * Own
       
    60      */
       
    61     CVpnApItem* iVpnApItem;
       
    62 };
       
    63 
       
    64 #endif // SWTBROWSERVPNAPITEM_H