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