remotecontrol/remotecontrolfw/targetselectorplugin/src/targetselectorpluginobserver.cpp
changeset 51 20ac952a623c
equal deleted inserted replaced
48:22de2e391156 51:20ac952a623c
       
     1 // Copyright (c) 2004-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 /**
       
    17  @file
       
    18  @internalComponent
       
    19 */
       
    20 
       
    21 #include <remcon/remcontargetselectorpluginobserver.h>
       
    22 
       
    23 
       
    24 EXPORT_C void MRemConTargetSelectorPluginObserver::OutgoingNotifyCommandAddressed(TRemConAddress* aConnection, TInt aError)
       
    25 	{
       
    26 	MrctspoDoOutgoingNotifyCommandAddressed(aConnection, aError);
       
    27 	}
       
    28 
       
    29 EXPORT_C void MRemConTargetSelectorPluginObserver::OutgoingCommandAddressed(TInt aError)
       
    30 	{
       
    31 	MrctspoDoOutgoingCommandAddressed(aError);
       
    32 	}
       
    33 
       
    34 EXPORT_C void MRemConTargetSelectorPluginObserver::OutgoingCommandPermitted(TBool aIsPermitted)
       
    35 	{
       
    36 	MrctspoDoOutgoingCommandPermitted(aIsPermitted);
       
    37 	}
       
    38 
       
    39 EXPORT_C void MRemConTargetSelectorPluginObserver::OutgoingNotifyCommandPermitted(TBool aIsPermitted)
       
    40 	{
       
    41 	MrctspoDoOutgoingNotifyCommandPermitted(aIsPermitted);
       
    42 	}
       
    43 
       
    44 EXPORT_C void MRemConTargetSelectorPluginObserver::IncomingCommandAddressed(TInt aError)
       
    45 	{
       
    46 	MrctspoDoIncomingCommandAddressed(aError);
       
    47 	}
       
    48 
       
    49 EXPORT_C TInt MRemConTargetSelectorPluginObserver::GetConnections(TSglQue<TRemConAddress>& aConnections)
       
    50 	{
       
    51 	return MrctspoDoGetConnections(aConnections);
       
    52 	}
       
    53 
       
    54 EXPORT_C void MRemConTargetSelectorPluginObserver::OutgoingResponsePermitted(TBool aIsPermitted)
       
    55 	{
       
    56 	MrctspoDoOutgoingResponsePermitted(aIsPermitted);
       
    57 	}
       
    58 
       
    59 EXPORT_C void MRemConTargetSelectorPluginObserver::IncomingNotifyAddressed(TClientInfo* aClientInfo, TInt aError)
       
    60 	{
       
    61 	MrctspoDoIncomingNotifyAddressed(aClientInfo, aError);
       
    62 	}
       
    63 
       
    64 EXPORT_C void MRemConTargetSelectorPluginObserver::ReAddressNotifies()
       
    65 	{
       
    66 	MrctspoDoReAddressNotifies();
       
    67 	}
       
    68 
       
    69 EXPORT_C void MRemConTargetSelectorPluginObserver::IncomingCommandPermitted(TBool aIsPermitted)
       
    70 	{
       
    71 	MrctspoDoIncomingCommandPermitted(aIsPermitted);
       
    72 	}
       
    73 
       
    74 EXPORT_C void MRemConTargetSelectorPluginObserver::IncomingNotifyPermitted(TBool aIsPermitted)
       
    75 	{
       
    76 	MrctspoDoIncomingNotifyPermitted(aIsPermitted);
       
    77 	}
       
    78 
       
    79 EXPORT_C TInt MRemConTargetSelectorPluginObserver::SetLocalAddressedClient(const TUid& aBearerUid, const TClientInfo& aClientInfo)
       
    80 	{
       
    81 	return MrctspoSetLocalAddressedClient(aBearerUid, aClientInfo);
       
    82 	}
       
    83 
       
    84