diff -r 5c72fd91570d -r 594d15129e2c services/terminalmodeservice/inc/upnptmclientprofileservice.h --- a/services/terminalmodeservice/inc/upnptmclientprofileservice.h Tue Aug 31 16:06:48 2010 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,93 +0,0 @@ -/** -* Copyright (c) 2010 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: CUpnpTmClientProfileService class declaration -* -*/ - -#ifndef __UPNPTMCLIENTPROFILESERVICE_H__ -#define __UPNPTMCLIENTPROFILESERVICE_H__ - - -// Include Files -#include -#include -#include -#include -#include -#include -#include - -// FORWARD DECLARATIONS -class CUPnPTmServerDevice; -class CUpnpTmServerImpl; - -// CLASS DECLARATION - -/** - * TerminalMode Client Profile Service class. It encapsulates all the actions related to the client - * profile and their related state variables. - */ -class CUpnpTmClientProfileService: public CUpnpServiceImplementation - { -public: // Constructors and destructors - /** - * Two-phased constructor. - * @param aService Parent service - */ - static CUpnpTmClientProfileService* NewL( CUpnpDevice& aUpnpDevice, const TDesC& aDescriptionPath , - CUpnpTmServerImpl& aTmServerImpl ); - - /** - * Destructor function called automatically from the destructor of a - * derived class - **/ - ~CUpnpTmClientProfileService(); - -public: //from CUpnpServiceImplementation - /** - * This functions is a entry point for actions. See coments in base class - */ - void ActionReceivedLD( CUpnpAction* aAction ); - - void UnUsedProfileIdEventL(const TDesC8& aUnusedProfileIdBuffer); - -private: - // Actions supported by the client profile service - TUpnpErrorCode GetMaxNumProfilesActionL( CUpnpAction* aAction ); - TUpnpErrorCode SetClientProfileActionL( CUpnpAction* aAction ); - TUpnpErrorCode GetClientProfileActionL( CUpnpAction* aAction ); - -private: // Constructors - /** - * C++ default constructor. - */ - CUpnpTmClientProfileService( CUpnpDevice& aUpnpDevice, - CUpnpTmServerImpl& aTmServerImp ); - /** - * Second phase of the constructor. - * Initialises a DOM tree. - * By default Symbian 2nd phase constructor is private. - * @param service Parent service - */ - void ConstructL(const TDesC& aDescriptionPath ); - -private: - CUpnpHttpServerSession* iHttpServerSession; - CUpnpDevice& iUpnpDevice; - CUpnpTmServerImpl& iTmServerImpl; - }; - -#endif // __UPNPTMCLIENTPROFILESERVICE_H__ - -// End Of File