telephonyserverplugins/ctsydispatchlayer/inc/tdispatcherholder.h
changeset 0 3553901f7fa8
child 24 6638e7f4bd8f
equal deleted inserted replaced
-1:000000000000 0:3553901f7fa8
       
     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  @internalAll 
       
    19 */
       
    20 
       
    21 #ifndef __TDISPATCHERHOLDER_H_
       
    22 #define __TDISPATCHERHOLDER_H_
       
    23 
       
    24 // Forward declarations
       
    25 
       
    26 class CCallControlDispatcher;
       
    27 class CPhoneDispatcher;
       
    28 class CSecurityDispatcher;
       
    29 class CPhonebookEnDispatcher;
       
    30 class CCellBroadcastDispatcher;
       
    31 class CPhonebookOnDispatcher;
       
    32 class CPhonebookDispatcher;
       
    33 class CSimDispatcher;
       
    34 class CSmsDispatcher;
       
    35 class CCallControlMultipartyDispatcher;
       
    36 class CSupplementaryServicesDispatcher;
       
    37 class CPacketServicesDispatcher;
       
    38 class CSatDispatcher;
       
    39 
       
    40 /**
       
    41  * Holds references to dispatcher objects.
       
    42  */
       
    43 class TDispatcherHolder
       
    44 	{
       
    45 public:
       
    46 	
       
    47 	TDispatcherHolder(
       
    48 						CCallControlDispatcher& aCtsyDispatcherCallControlDispatcher, 
       
    49 						CPhoneDispatcher& aCtsyDispatcherPhoneDispatcher, 
       
    50 						CSecurityDispatcher& aCtsyDispatcherSecurityDispatcher, 
       
    51 						CPhonebookEnDispatcher& aCtsyDispatcherPhonebookEnDispatcher, 
       
    52 						CCellBroadcastDispatcher& aCtsyDispatcherCellBroadcastDispatcher, 
       
    53 						CPhonebookOnDispatcher& aCtsyDispatcherPhonebookOnDispatcher, 
       
    54 						CPhonebookDispatcher& aCtsyDispatcherPhonebookDispatcher, 
       
    55 						CSimDispatcher& aCtsyDispatcherSimDispatcher, 
       
    56 						CSmsDispatcher& aCtsyDispatcherSmsDispatcher, 
       
    57 						CCallControlMultipartyDispatcher& aCtsyDispatcherCallControlMultipartyDispatcher, 
       
    58 						CSupplementaryServicesDispatcher& aCtsyDispatcherSupplementaryServicesDispatcher, 
       
    59 						CPacketServicesDispatcher& aCtsyDispatcherPacketServicesDispatcher, 
       
    60 						CSatDispatcher& aCtsyDispatcherSatDispatcher
       
    61 					);
       
    62 
       
    63 	CCallControlDispatcher& GetCallControlDispatcher() { return iCtsyDispatcherCallControlDispatcher; }
       
    64 	CPhoneDispatcher& GetPhoneDispatcher() { return iCtsyDispatcherPhoneDispatcher; }
       
    65 	CSecurityDispatcher& GetSecurityDispatcher() { return iCtsyDispatcherSecurityDispatcher; }
       
    66 	CPhonebookEnDispatcher& GetPhonebookEnDispatcher() { return iCtsyDispatcherPhonebookEnDispatcher; }
       
    67 	CCellBroadcastDispatcher& GetCellBroadcastDispatcher() { return iCtsyDispatcherCellBroadcastDispatcher; }
       
    68 	CPhonebookOnDispatcher& GetPhonebookOnDispatcher() { return iCtsyDispatcherPhonebookOnDispatcher; }
       
    69 	CPhonebookDispatcher& GetPhonebookDispatcher() { return iCtsyDispatcherPhonebookDispatcher; }
       
    70 	CSimDispatcher& GetSimDispatcher() { return iCtsyDispatcherSimDispatcher; }
       
    71 	CSmsDispatcher& GetSmsDispatcher() { return iCtsyDispatcherSmsDispatcher; }
       
    72 	CCallControlMultipartyDispatcher& GetCallControlMultipartyDispatcher() { return iCtsyDispatcherCallControlMultipartyDispatcher; }
       
    73 	CSupplementaryServicesDispatcher& GetSupplementaryServicesDispatcher() { return iCtsyDispatcherSupplementaryServicesDispatcher; }
       
    74 	CPacketServicesDispatcher& GetPacketServicesDispatcher() { return iCtsyDispatcherPacketServicesDispatcher; }
       
    75 	CSatDispatcher& GetSatDispatcher() { return iCtsyDispatcherSatDispatcher; }
       
    76 
       
    77 
       
    78 private:
       
    79 
       
    80 	CCallControlDispatcher& iCtsyDispatcherCallControlDispatcher;
       
    81 	CPhoneDispatcher& iCtsyDispatcherPhoneDispatcher;
       
    82 	CSecurityDispatcher& iCtsyDispatcherSecurityDispatcher;
       
    83 	CPhonebookEnDispatcher& iCtsyDispatcherPhonebookEnDispatcher;
       
    84 	CCellBroadcastDispatcher& iCtsyDispatcherCellBroadcastDispatcher;
       
    85 	CPhonebookOnDispatcher& iCtsyDispatcherPhonebookOnDispatcher;
       
    86 	CPhonebookDispatcher& iCtsyDispatcherPhonebookDispatcher;
       
    87 	CSimDispatcher& iCtsyDispatcherSimDispatcher;
       
    88 	CSmsDispatcher& iCtsyDispatcherSmsDispatcher;
       
    89 	CCallControlMultipartyDispatcher& iCtsyDispatcherCallControlMultipartyDispatcher;
       
    90 	CSupplementaryServicesDispatcher& iCtsyDispatcherSupplementaryServicesDispatcher;
       
    91 	CPacketServicesDispatcher& iCtsyDispatcherPacketServicesDispatcher;
       
    92 	CSatDispatcher& iCtsyDispatcherSatDispatcher;
       
    93 
       
    94 
       
    95 	}; // class TDispatcherHolder
       
    96 
       
    97 #endif // __TDISPATCHERHOLDER_H_