syncmlfw/common/obex/obexclient/inc/Obexsearcherfactory.h
changeset 0 b497e44ab2fc
equal deleted inserted replaced
-1:000000000000 0:b497e44ab2fc
       
     1 /*
       
     2 * Copyright (c) 2002 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:  Obex searcher factory
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 #ifndef COBEXSEARCHERFACTORY_H
       
    21 #define COBEXSEARCHERFACTORY_H
       
    22 
       
    23 //  INCLUDES
       
    24 #include <e32base.h>
       
    25 #include <bttypes.h>
       
    26 #include "nsmltransport.h"
       
    27 #include "Btconninfo.h"
       
    28 
       
    29 
       
    30 // FORWARD DECLARATIONS
       
    31 class CObexSearcherBase;
       
    32 
       
    33 // CLASS DECLARATION
       
    34 
       
    35 class CObexSearcherFactory : public CBase
       
    36     {
       
    37 
       
    38     public: // New functions
       
    39         
       
    40 		/**
       
    41 		 *	Creates an obex searcher.
       
    42 		 */
       
    43         static CObexSearcherBase* CreateObexSearcherL(
       
    44 			TNSmlObexTransport aTransport );
       
    45 
       
    46 		/**
       
    47 		 *	Creates a Bluetooth searcher
       
    48 		 */
       
    49         static CObexSearcherBase* CreateBTSearcherL(
       
    50 			const TBTConnInfo& aBTConnInfo );
       
    51 
       
    52     private:
       
    53 
       
    54 		/**
       
    55         * C++ default constructor.
       
    56         */
       
    57         CObexSearcherFactory();
       
    58 
       
    59     };
       
    60 
       
    61 #endif      // COBEXSEARCHERFACTORY_H   
       
    62             
       
    63 // End of File