vpnengine/sit/inc/extenderhelper.h
branchRCL_3
changeset 23 473321461bba
parent 22 9f4e37332ce5
child 24 e06095241a65
equal deleted inserted replaced
22:9f4e37332ce5 23:473321461bba
     1 /*
       
     2 * Copyright (c) 2010 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: Helper class for extended functionality for policy provision process.
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef EXTENDERHELPER_H_
       
    19 #define EXTENDERHELPER_H_
       
    20 
       
    21 
       
    22 #include <e32base.h>
       
    23 
       
    24 #include "vpnnotifierdefs.h"
       
    25 
       
    26 class CExtender;
       
    27 
       
    28 NONSHARABLE_CLASS(CExtenderHelper) : public CActive
       
    29     {
       
    30 public:
       
    31     static CExtenderHelper* NewL();
       
    32     ~CExtenderHelper();
       
    33     
       
    34 private:
       
    35     CExtenderHelper();
       
    36     void ConstructL();
       
    37     
       
    38 private: // From CActive
       
    39     void DoCancel();
       
    40     void RunL();
       
    41 
       
    42 
       
    43 public:
       
    44     void StartNotifierL(CExtender* aExtender);
       
    45     
       
    46 private:
       
    47     RNotifier iNotifier;
       
    48     
       
    49     CExtender* iExtender;
       
    50     
       
    51     TPckgBuf<TVpnDialogInfo>    iDialogInfoDes;
       
    52     TPckgBuf<TVpnDialogOutput>  iDialogResponseDes;
       
    53     
       
    54     };
       
    55 #endif // __EXTENDERHELPER__