accessoryservices/remotecontrolfw/server/src/tspv4stub.cpp
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Tue, 31 Aug 2010 16:29:05 +0300
branchRCL_3
changeset 60 ccb4f6b3db21
parent 0 4e1aa6a622a0
permissions -rw-r--r--
Revision: 201033 Kit: 201035

// Copyright (c) 2008-2009 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:
//

#include <remcon/remcontargetselectorpluginobserver.h>
#include "tspv4stub.h"
#include "utils.h"

#include <bluetooth/logger.h>

#ifdef __FLOG_ACTIVE
_LIT8(KLogComponent, LOG_COMPONENT_REMCON_SERVER);
#endif

TTspV4Stub::TTspV4Stub(MRemConTargetSelectorPluginObserver& aObserver)
	: iObserver(aObserver)
	{
	LOG_FUNC
	}

void TTspV4Stub::PermitIncomingCommand(
	TUid /*aInterfaceUid*/,
	TUint /*aOperationId*/, 
	const TClientInfo& /*aClient*/)
	{
	LOG_FUNC
	iObserver.IncomingCommandPermitted(ETrue);
	}

void TTspV4Stub::PermitIncomingNotify(
	TUid /*aInterfaceUid*/,
	TUint /*aOperationId*/, 
	const TClientInfo& /*aClient*/)
	{
	LOG_FUNC
	iObserver.IncomingNotifyPermitted(ETrue);
	}

void TTspV4Stub::SetRemoteAddressedClient(const TUid& /*aBearerUid*/, 
		const TClientInfo& /*aClient*/)
	{
	LOG_FUNC
	// Ignore this, we are stateless
	}