51
|
1 |
// Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
|
|
2 |
// All rights reserved.
|
|
3 |
// This component and the accompanying materials are made available
|
|
4 |
// under the terms of "Eclipse Public License v1.0"
|
|
5 |
// which accompanies this distribution, and is available
|
|
6 |
// at the URL "http://www.eclipse.org/legal/epl-v10.html".
|
|
7 |
//
|
|
8 |
// Initial Contributors:
|
|
9 |
// Nokia Corporation - initial contribution.
|
|
10 |
//
|
|
11 |
// Contributors:
|
|
12 |
//
|
|
13 |
// Description:
|
|
14 |
//
|
|
15 |
|
|
16 |
#include <remcon/remcontargetselectorpluginobserver.h>
|
|
17 |
#include "tspv4stub.h"
|
|
18 |
#include "utils.h"
|
|
19 |
|
|
20 |
#include <bluetooth/logger.h>
|
|
21 |
|
|
22 |
#ifdef __FLOG_ACTIVE
|
|
23 |
_LIT8(KLogComponent, LOG_COMPONENT_REMCON_SERVER);
|
|
24 |
#endif
|
|
25 |
|
|
26 |
TTspV4Stub::TTspV4Stub(MRemConTargetSelectorPluginObserver& aObserver)
|
|
27 |
: iObserver(aObserver)
|
|
28 |
{
|
|
29 |
LOG_FUNC
|
|
30 |
}
|
|
31 |
|
|
32 |
void TTspV4Stub::PermitIncomingCommand(
|
|
33 |
TUid /*aInterfaceUid*/,
|
|
34 |
TUint /*aOperationId*/,
|
|
35 |
const TClientInfo& /*aClient*/)
|
|
36 |
{
|
|
37 |
LOG_FUNC
|
|
38 |
iObserver.IncomingCommandPermitted(ETrue);
|
|
39 |
}
|
|
40 |
|
|
41 |
void TTspV4Stub::PermitIncomingNotify(
|
|
42 |
TUid /*aInterfaceUid*/,
|
|
43 |
TUint /*aOperationId*/,
|
|
44 |
const TClientInfo& /*aClient*/)
|
|
45 |
{
|
|
46 |
LOG_FUNC
|
|
47 |
iObserver.IncomingNotifyPermitted(ETrue);
|
|
48 |
}
|
|
49 |
|
|
50 |
void TTspV4Stub::SetRemoteAddressedClient(const TUid& /*aBearerUid*/,
|
|
51 |
const TClientInfo& /*aClient*/)
|
|
52 |
{
|
|
53 |
LOG_FUNC
|
|
54 |
// Ignore this, we are stateless
|
|
55 |
}
|
|
56 |
|
|
57 |
|