bluetoothcommsprofiles/btpan/bnep/CBnepPktDrvFactory.h
changeset 0 29b1cd4cb562
equal deleted inserted replaced
-1:000000000000 0:29b1cd4cb562
       
     1 // Copyright (c) 2004-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     2 // All rights reserved.
       
     3 // This component and the accompanying materials are made available
       
     4 // under the terms of "Eclipse Public License v1.0"
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 //
       
    15 
       
    16 /**
       
    17  @file
       
    18  @internalComponent
       
    19 */
       
    20 
       
    21 
       
    22 #ifndef __CBNEPPKTDRVFACTORY_H
       
    23 #define __CBNEPPKTDRVFACTORY_H 
       
    24 
       
    25 #include <e32base.h>
       
    26 #include <e32std.h>
       
    27 #include <es_mbuf.h>
       
    28 #include <comms-infras/nifif.h>
       
    29 #include <networking/ethinter.h>
       
    30 
       
    31 const TUint KBnepMajorVersionNumber=1;
       
    32 const TUint KBnepMinorVersionNumber=0;
       
    33 const TUint KBnepBuildVersionNumber=7;
       
    34 IMPORT_C CPktDrvFactory* NewBnepPktDrvFactoryL();
       
    35 
       
    36 
       
    37 NONSHARABLE_CLASS(CBnepPktDrvFactory) : public CPktDrvFactory  
       
    38     {
       
    39 public:
       
    40     CBnepPktDrvFactory();
       
    41     ~CBnepPktDrvFactory();
       
    42     void InitL (RLibrary& aLib, CObjectCon& aCon);
       
    43     CPktDrvBase* NewDriverL (CLANLinkCommon* aParent);
       
    44     TInt Open ();
       
    45     TVersion Version () const;
       
    46     };
       
    47 
       
    48 #endif