diff -r 000000000000 -r b497e44ab2fc syncmlfw/common/obex/obexclient/inc/Obexsearcherfactory.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/syncmlfw/common/obex/obexclient/inc/Obexsearcherfactory.h Thu Dec 17 09:07:52 2009 +0200 @@ -0,0 +1,63 @@ +/* +* Copyright (c) 2002 Nokia Corporation and/or its subsidiary(-ies). +* All rights reserved. +* This component and the accompanying materials are made available +* under the terms of "Eclipse Public License v1.0" +* which accompanies this distribution, and is available +* at the URL "http://www.eclipse.org/legal/epl-v10.html". +* +* Initial Contributors: +* Nokia Corporation - initial contribution. +* +* Contributors: +* +* Description: Obex searcher factory +* +*/ + + + +#ifndef COBEXSEARCHERFACTORY_H +#define COBEXSEARCHERFACTORY_H + +// INCLUDES +#include +#include +#include "nsmltransport.h" +#include "Btconninfo.h" + + +// FORWARD DECLARATIONS +class CObexSearcherBase; + +// CLASS DECLARATION + +class CObexSearcherFactory : public CBase + { + + public: // New functions + + /** + * Creates an obex searcher. + */ + static CObexSearcherBase* CreateObexSearcherL( + TNSmlObexTransport aTransport ); + + /** + * Creates a Bluetooth searcher + */ + static CObexSearcherBase* CreateBTSearcherL( + const TBTConnInfo& aBTConnInfo ); + + private: + + /** + * C++ default constructor. + */ + CObexSearcherFactory(); + + }; + +#endif // COBEXSEARCHERFACTORY_H + +// End of File