|
1 /* |
|
2 * Copyright (c) 2006 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: Interface class for variation factory. Variation factory |
|
15 * returns different UI features depending on software version. |
|
16 * |
|
17 */ |
|
18 |
|
19 |
|
20 |
|
21 #ifndef CCAVARIANTFACTORY_H |
|
22 #define CCAVARIANTFACTORY_H |
|
23 |
|
24 // INCLUDES |
|
25 #include <e32base.h> |
|
26 |
|
27 |
|
28 // FORWARD DECLARATIONS |
|
29 class MCASkinVariant; |
|
30 class MCAOpBrandVariant; |
|
31 class MCAAHVariant; |
|
32 |
|
33 // CLASS DECLARATION |
|
34 |
|
35 /** |
|
36 * Interface class for variation factory |
|
37 * |
|
38 * @lib chat.app |
|
39 * @since 1.2s |
|
40 */ |
|
41 class CCAVariantFactory : public CBase |
|
42 { |
|
43 public: // Constructors and destructor |
|
44 |
|
45 /** |
|
46 * Two-phased constructor. |
|
47 */ |
|
48 static CCAVariantFactory* NewL(); |
|
49 |
|
50 /** |
|
51 * Destructor. |
|
52 */ |
|
53 virtual ~CCAVariantFactory(); |
|
54 |
|
55 public: // New functions |
|
56 |
|
57 /** |
|
58 * Returns skin variant. |
|
59 * @since 1.2 |
|
60 * @return MCASkinVariant*, skin variant object. |
|
61 */ |
|
62 virtual MCASkinVariant* SkinVariantL() = 0; |
|
63 /** |
|
64 * Returns resource file/bitmap alternating variant. |
|
65 * @since 1.2 |
|
66 * @return MCAOpBrandVariant*, variant object. |
|
67 */ |
|
68 virtual MCAOpBrandVariant* OpBrandVariantL() = 0; |
|
69 /** |
|
70 * Returns Arabic/Hebrew variant. |
|
71 * @since 1.2 |
|
72 * @return MCAAHVariant*, variant object. |
|
73 */ |
|
74 virtual MCAAHVariant* AHVariantL() = 0; |
|
75 |
|
76 |
|
77 protected: // New functions |
|
78 |
|
79 /** |
|
80 * C++ default constructor. |
|
81 */ |
|
82 CCAVariantFactory(); |
|
83 }; |
|
84 |
|
85 #endif // CCAVARIANTFACTORY_H |
|
86 |
|
87 // End of File |