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