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