diff -r 000000000000 -r 1bce908db942 multimediacommsengine/mmcefloorctrlengine/inc/fcinterface.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/multimediacommsengine/mmcefloorctrlengine/inc/fcinterface.h Tue Feb 02 01:04:58 2010 +0200 @@ -0,0 +1,73 @@ +/* +* Copyright (c) 2005 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: The class provides the FC PlugIn interface +* +*/ + + + + +#ifndef __CFCINTERFACE__ +#define __CFCINTERFACE__ + +// INCLUDES +#include +#include +#include +#include "fcinterfaceinitparams.h" +#include "fcplugin.h" + +// CONSTANTS +// UID of this interface +const TUid KCFCInterfaceUid = {0x102010E2}; + +// Default port +const TUint32 KFCDefaultPort = 0; + +// CLASS DECLARATION +/** +* A FC interface used for the ecom +*/ +class CFCInterface : public CBase, + public MFCPlugIn + { + public: + /** + * The interface for passing initialisation parameters + * @param aMatchString aMatch data for ecom + * @param specific param for loading the specific plugin + * @return the required plugIn Instance + */ + static CFCInterface* NewL( const TUid& aImplUid, + TFCInterfaceInitParams& aParams ); + + /** + * Destructor. + */ + virtual ~CFCInterface(); + + protected: + /** ecom interface */ + inline CFCInterface(); + + private: + /** Unique instance identifier key */ + TUid iDtor_ID_Key; + }; + +#include "fcinterface.inl" + +#endif + +// End of File