1 /* |
|
2 * Copyright (c) 2002 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: |
|
15 * Concrete resource resolver for GSM specific PhoneUi resources. |
|
16 * |
|
17 */ |
|
18 |
|
19 |
|
20 #ifndef __CPHONERESOURCERESOLVERGSM_H |
|
21 #define __CPHONERESOURCERESOLVERGSM_H |
|
22 |
|
23 // INCLUDES |
|
24 #include <e32base.h> |
|
25 #include "cphoneresourceresolverbase.h" |
|
26 |
|
27 |
|
28 // FORWARD DECLARATIONS |
|
29 class MPhoneResourceResolverRegister; |
|
30 class CEikonEnv; |
|
31 |
|
32 // CLASS DECLARATION |
|
33 /** |
|
34 * Concrete resource resolver for GSM spesific phoneapp resources. |
|
35 */ |
|
36 class CPhoneResourceResolverGSM : public CPhoneResourceResolverBase |
|
37 |
|
38 { |
|
39 public: // Constructors and destructor |
|
40 /** |
|
41 * Virtual Destructor |
|
42 * @param None |
|
43 * @return None |
|
44 */ |
|
45 IMPORT_C virtual ~CPhoneResourceResolverGSM(); |
|
46 |
|
47 /** |
|
48 * NewL function for creating the resolver. |
|
49 * @param aMainResourceResolver: Pointer to the main resolver. |
|
50 * @return CPhoneResourceResolver* |
|
51 */ |
|
52 static CPhoneResourceResolverGSM* NewL(); |
|
53 |
|
54 public: // From MPhoneResourceResolver |
|
55 /** |
|
56 * Resolve resource id of given resource. |
|
57 * @param aEnumUid: Uid of enumeration which contains needed |
|
58 * resource definition. |
|
59 * @param aResource: ID of needed resource ( from enumeration ). |
|
60 * @return Resource id. |
|
61 */ |
|
62 IMPORT_C TInt ResolveResourceID( const TInt& aResource ) const; |
|
63 |
|
64 protected: // Constructors and destructor |
|
65 /** |
|
66 * Protected constructor. |
|
67 * @param None |
|
68 * @return None |
|
69 */ |
|
70 IMPORT_C CPhoneResourceResolverGSM(); |
|
71 |
|
72 /** |
|
73 * Two phase construction - Second phase. |
|
74 * @param aMainResourceResolver: Pointer to the main resolver. |
|
75 * @return None |
|
76 */ |
|
77 IMPORT_C void ConstructL(); |
|
78 |
|
79 protected: // Data |
|
80 |
|
81 CEikonEnv& iEnv; |
|
82 }; |
|
83 |
|
84 #endif // CPHONERESOURCERESOLVERGSM_H |
|
85 |
|
86 // End of File |
|