usbmgmt/usbmgr/device/classdrivers/ncm/classimplementation/ncmpktdrv/server/inc/ncmserver.h
branchRCL_3
changeset 15 f92a4f87e424
equal deleted inserted replaced
14:d3e8e7d462dd 15:f92a4f87e424
       
     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 NCMSERVER_H
       
    24 #define NCMSERVER_H
       
    25 
       
    26 #include <e32base.h>
       
    27 
       
    28 class CNcmEngine;
       
    29 
       
    30 NONSHARABLE_CLASS(CNcmServer) : public CPolicyServer
       
    31     {
       
    32 public:
       
    33     static CNcmServer* NewL(CNcmEngine& aEngine);
       
    34     ~CNcmServer();
       
    35 
       
    36 private:
       
    37     CNcmServer(CNcmEngine& aEngine);
       
    38     
       
    39 private:
       
    40     // from CPolicyServer
       
    41     CSession2* NewSessionL(const TVersion &aVersion, const RMessage2& aMessage) const;
       
    42     
       
    43 private:
       
    44     // unowned
       
    45     CNcmEngine& iNcmEngine;
       
    46     };
       
    47 
       
    48 #endif // NCMSERVER_H