|
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 * Sms Mtm Ui Data for Cdma |
|
16 * |
|
17 */ |
|
18 |
|
19 |
|
20 |
|
21 #if !defined(__SMSICDMA_H__) |
|
22 #define __SMSICDMA_H__ |
|
23 |
|
24 #if !defined(__MTUDBAS_H__) |
|
25 #include <MTUDCBAS.H> // CBaseMtmUiData |
|
26 #endif |
|
27 |
|
28 #include <FeatMgr.h> // FeatureManager |
|
29 #include <bldvariant.hrh> |
|
30 #include "Smsi.h" |
|
31 |
|
32 |
|
33 // CLASS DEFINITIONS |
|
34 |
|
35 /** |
|
36 * CSmsMtmUiDataCdma |
|
37 * Inherited from CSmsMtmUiData |
|
38 * Defines actions/data for UI Data elements related to SMS |
|
39 * CDMA Version |
|
40 */ |
|
41 NONSHARABLE_CLASS(CSmsMtmUiDataCDMA) : public CSmsMtmUiData |
|
42 { |
|
43 public: // Constructors and destructor |
|
44 |
|
45 /** |
|
46 * Two-phased constructor. |
|
47 */ |
|
48 static CSmsMtmUiDataCDMA* NewL(CRegisteredMtmDll& aRegisteredDll); |
|
49 |
|
50 /** |
|
51 * Destructor. |
|
52 */ |
|
53 virtual ~CSmsMtmUiDataCDMA(); |
|
54 |
|
55 private: // Functions from base classes |
|
56 |
|
57 /** |
|
58 * From CSmsMtmUiData |
|
59 * service: set aStateFlags & EMtudEntryStateOpen if service includes |
|
60 * unread messages, otherwise aStateFlags should be 0 |
|
61 * @return array of two bitmaps: first icon and second mask for the icon |
|
62 */ |
|
63 const CBitmapArray& ContextIcon(const TMsvEntry& aContext, TInt aStateFlags) const; |
|
64 |
|
65 /** |
|
66 * From CSmsMtmUiData |
|
67 */ |
|
68 TInt QueryCapability(TUid aFunctionId, TInt& aResponse) const; |
|
69 |
|
70 /** |
|
71 * From CSmsMtmUiData |
|
72 */ |
|
73 void PopulateArraysL(); |
|
74 |
|
75 /** |
|
76 * Creates skinned icons. Fallbacks are normal icons |
|
77 * @param aNumZoomStates: amount of elements in vector |
|
78 * ( bitmap & bitmapmask ) |
|
79 */ |
|
80 void CreateSkinnedBitmapsL( TInt aNumZoomStates ); |
|
81 |
|
82 private: |
|
83 |
|
84 /** |
|
85 * Constructor (accessible only through factory function) |
|
86 */ |
|
87 CSmsMtmUiDataCDMA(CRegisteredMtmDll& aRegisteredDll); |
|
88 |
|
89 private: // Data |
|
90 |
|
91 }; |
|
92 |
|
93 #endif // __SMSICDMA_H__ |
|
94 |
|
95 |
|
96 |
|
97 // End of File |