|
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 |
|
18 /** |
|
19 @file |
|
20 @internalAll |
|
21 */ |
|
22 |
|
23 #ifndef MLTSYDISPATCHINTERFACE_H_ |
|
24 #define MLTSYDISPATCHINTERFACE_H_ |
|
25 |
|
26 #include <e32std.h> |
|
27 #include <e32def.h> |
|
28 |
|
29 typedef const TInt TLtsyCallbackIndId; |
|
30 typedef const TInt TLtsyDispatchInterfaceApiId; |
|
31 |
|
32 // Offsets of IDs used to identify API calls and also indicator callbacks |
|
33 const TInt KDispatchCallControlFuncUnitId = 0; |
|
34 const TInt KDispatchPhoneFuncUnitId = 2000; |
|
35 const TInt KDispatchSecurityFuncUnitId = 4000; |
|
36 const TInt KDispatchPhonebookEnFuncUnitId = 6000; |
|
37 const TInt KDispatchCellBroadcastFuncUnitId = 8000; |
|
38 const TInt KDispatchPhonebookOnFuncUnitId = 10000; |
|
39 const TInt KDispatchPhonebookFuncUnitId = 12000; |
|
40 const TInt KDispatchSimFuncUnitId = 14000; |
|
41 const TInt KDispatchSmsFuncUnitId = 16000; |
|
42 const TInt KDispatchCallControlMultipartyFuncUnitId = 18000; |
|
43 const TInt KDispatchSupplementaryServicesFuncUnitId = 20000; |
|
44 const TInt KDispatchPacketServicesFuncUnitId = 22000; |
|
45 const TInt KDispatchSatFuncUnitId = 24000; |
|
46 |
|
47 /** |
|
48 * Identifies the group that a set of IDs belong to. |
|
49 * Used with MLtsyDispatchFactoryV1::IsCallbackIndicatorSupported |
|
50 * |
|
51 * @see MLtsyDispatchFactoryV1::IsCallbackIndicatorSupported |
|
52 */ |
|
53 enum TLtsyDispatchIndIdGroup |
|
54 { |
|
55 EIndIdGroup1, //< Callback indicator IDs 1 to 32 |
|
56 EIndIdGroup2, //< Callback indicator IDs 33 to 63 |
|
57 EIndIdGroup3 //< Callback indicator IDs 64 to 95 |
|
58 }; |
|
59 |
|
60 class MLtsyDispatchInterface |
|
61 /** |
|
62 * Base class from which all dispatch interfaces to be implemented by the Licensee LTSY |
|
63 * derive. |
|
64 */ |
|
65 { |
|
66 public: |
|
67 |
|
68 |
|
69 }; // class MLtsyDispatchInterface |
|
70 |
|
71 #endif /*MLTSYDISPATCHINTERFACE_H_*/ |