commsfwsupport/commselements/serverden/src/sd_apiextensionrouting.cpp
changeset 0 dfb7c4ff071f
equal deleted inserted replaced
-1:000000000000 0:dfb7c4ff071f
       
     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 /**
       
    17  @file
       
    18  @internalTechnology
       
    19 */
       
    20 
       
    21 #include "sd_apiextension.h"
       
    22 #include "sd_apiextensionrouting.h"
       
    23 
       
    24 using namespace Den;
       
    25 
       
    26 static const TUint32 KDenRoutingImplementationUid = 0x12348866; //TODO: allocate an UID
       
    27 
       
    28 enum
       
    29 	{
       
    30 	EIpcExtensionRoutingMessageBase = 1,
       
    31 	EIpcExtensionRoutingMessageFromSession,
       
    32 	EIpcExtensionRoutingMessageFromSubSession
       
    33 	};
       
    34 
       
    35 //
       
    36 //TApiExtRoutingMessageBase
       
    37 
       
    38 EXPORT_START_ATTRIBUTE_TABLE_NO_FN(TIpcExtensionRoutingMessageBase, 0, EIpcExtensionRoutingMessageBase)
       
    39 END_ATTRIBUTE_TABLE_BASE( TSignalBase, ESignalBase )
       
    40 
       
    41 EXPORT_C void TIpcExtensionRoutingMessageBase::RegisterMessagesAtDestinationL(AIpcExtensionInterfaceBase& aInterface)
       
    42 	{
       
    43 	aInterface.RegisterMessagesL();
       
    44 	}
       
    45 
       
    46 EXPORT_C void TIpcExtensionRoutingMessageBase::DeregisterMessagesAtDestination(AIpcExtensionInterfaceBase& aInterface)
       
    47 	{
       
    48 	aInterface.DeregisterMessages();
       
    49 	}
       
    50 
       
    51 //
       
    52 //TApiExtRoutingMessageFromSession
       
    53 
       
    54 EXPORT_START_ATTRIBUTE_TABLE_NO_FN(TIpcExtensionRoutingMessageFromSession, KDenRoutingImplementationUid, EIpcExtensionRoutingMessageFromSession)
       
    55 END_ATTRIBUTE_TABLE_BASE( TIpcExtensionRoutingMessageBase, EIpcExtensionRoutingMessageBase )
       
    56 
       
    57 
       
    58 //
       
    59 //TApiExtRoutingMessageFromSubSession
       
    60 
       
    61 EXPORT_START_ATTRIBUTE_TABLE_NO_FN(TIpcExtensionRoutingMessageFromSubSession, KDenRoutingImplementationUid, EIpcExtensionRoutingMessageFromSubSession)
       
    62 END_ATTRIBUTE_TABLE_BASE( TIpcExtensionRoutingMessageBase, EIpcExtensionRoutingMessageBase )
       
    63 
       
    64 
       
    65