1 /* |
|
2 * Copyright (c) 2004 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of "Eclipse Public License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: This struct contain interface and |
|
15 * : implementation ids for IHL classes. |
|
16 * |
|
17 */ |
|
18 |
|
19 |
|
20 #ifndef TIHLINTERFACETYPE_H |
|
21 #define TIHLINTERFACETYPE_H |
|
22 |
|
23 // INCLUDES |
|
24 #include <e32std.h> |
|
25 |
|
26 // CLASS DECLARATION |
|
27 /** |
|
28 * TIHLInterfaceType |
|
29 * |
|
30 * This struct contain interface and |
|
31 * implementation ids for IHL classes. |
|
32 * |
|
33 * Used id values are defined in IHLInterfaceIds.h header. |
|
34 * |
|
35 * @lib IHL.lib |
|
36 * @since 3.0 |
|
37 */ |
|
38 class TIHLInterfaceType |
|
39 { |
|
40 public: // Constructor and destructor |
|
41 |
|
42 inline TIHLInterfaceType( TInt aInterfaceId, TInt aImplementationId ); |
|
43 virtual ~TIHLInterfaceType() {}; |
|
44 |
|
45 public: // Public data |
|
46 |
|
47 /** |
|
48 * Class interface id. |
|
49 * Used to identify interface type currently in use. |
|
50 */ |
|
51 TInt iInterfaceId; |
|
52 |
|
53 /** |
|
54 * Class implementation id. |
|
55 * Used to identify implementation class behind interface. |
|
56 * For internal use. |
|
57 */ |
|
58 TInt iImplementationId; |
|
59 |
|
60 }; |
|
61 |
|
62 inline TIHLInterfaceType::TIHLInterfaceType( TInt aInterfaceId, TInt aImplementationId ) |
|
63 :iInterfaceId( aInterfaceId ), iImplementationId( aImplementationId ) {} |
|
64 |
|
65 #endif // TIHLINTERFACETYPE_H |
|
66 |
|
67 // End of File |
|