diff -r b6f2a363adf7 -r 7797b2f86d2b imservices/ossprotocoladaptation/inc/cossprotocolplugin.h --- a/imservices/ossprotocoladaptation/inc/cossprotocolplugin.h Wed Apr 14 16:17:20 2010 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,118 +0,0 @@ -/* -* Copyright (c) 2007-2008 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: adaptation for open source -* -*/ - - -#ifndef __COSSPROTOCOLPLUGIN_H__ -#define __COSSPROTOCOLPLUGIN_H__ - -// INCLUDES -#include -#include - -// FORWARD DECLARATIONS - -class MXIMPServiceInfo; - -class MXIMPContextClientInfo; - -class COSSProtocolConnection; - -class CProcessLauncher; - - - - -/** - * OSS protocol Plugin - * - * OSS plugin is ECOM plugin and shall be loaded by PrFw. - * OSS has one or many connections. - */ - -class COSSProtocolPlugin : public CXIMPProtocolPluginBase - { - - public: - - static COSSProtocolPlugin* NewL(); - static COSSProtocolPlugin* NewLC(); - - ~COSSProtocolPlugin(); - - private: - - COSSProtocolPlugin(); - void ConstructL(); - - public: // From MXIMPProtocolPlugin - - /** - * @see MXIMPProtocolPlugin - */ - void PrimeHost ( MXIMPProtocolPluginHost& aHost ); - /** - * @see MXIMPProtocolPlugin - */ - MXIMPProtocolConnection& AcquireConnectionL ( - const MXIMPServiceInfo& aServiceInfo, - const MXIMPContextClientInfo& aClientCtxInfo ); - /** - * @see MXIMPProtocolPlugin - */ - void ReleaseConnection ( - MXIMPProtocolConnection& aConnection ); - - public: // from MXIMPBase - /** - * @see MXIMPBase - */ - TAny* GetInterface ( - TInt32 aInterfaceId, - TIfGetOps aOptions ); - /** - * @see MXIMPBase - */ - const TAny* GetInterface ( - TInt32 aInterfaceId, - TIfGetOps aOptions ) const; - /** - * @see MXIMPBase - */ - TInt32 GetInterfaceId() const; - - private: // Data - /** - * Prime host - * Not own. - */ - MXIMPProtocolPluginHost* iHost; - /** - * protocol connections - * Own. - */ - RPointerArray< COSSProtocolConnection > iConnections; - - /** - * process launcher.launches isolation server - * Own. - */ - CProcessLauncher *iIsoServerLauncher; - - - }; - -#endif // __COSSPROTOCOLPLUGIN_H__