kerneltest/e32test/usb/t_usb_device/include/tranhandleserver.h
changeset 247 d8d70de2bd36
equal deleted inserted replaced
201:43365a9b78a3 247:d8d70de2bd36
       
     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:
       
    15 *
       
    16 */
       
    17 
       
    18 /**
       
    19  @file
       
    20  @internalComponent
       
    21 */
       
    22 
       
    23 #ifndef TRANHANDLESERVER_H
       
    24 #define TRANHANDLESERVER_H
       
    25 
       
    26 #include <e32base.h>
       
    27 
       
    28 class CActiveControl;
       
    29 
       
    30 NONSHARABLE_CLASS(CTranHandleServer) : public CPolicyServer
       
    31     {
       
    32 public:
       
    33     static CTranHandleServer* NewL(CActiveControl& aControl);
       
    34     ~CTranHandleServer();
       
    35 
       
    36 private:
       
    37     CTranHandleServer(CActiveControl& aControl);
       
    38     
       
    39 private:
       
    40     // from CPolicyServer
       
    41     CSession2* NewSessionL(const TVersion &aVersion, const RMessage2& aMessage) const;
       
    42     
       
    43 private:
       
    44     // unowned
       
    45     CActiveControl& iActiveControl;
       
    46     };
       
    47 
       
    48 #endif // TRANHANDLESERVER_H