|
1 /* |
|
2 * Copyright (c) 2008 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: Sets brand according service id. |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef __TELBRANDING_H__ |
|
20 #define __TELBRANDING_H__ |
|
21 |
|
22 // Include Files |
|
23 #include <e32base.h> // CBase |
|
24 #include <ecom.h> |
|
25 #include <telbubbleextension.h> |
|
26 |
|
27 // Constants |
|
28 |
|
29 class CTelBrandingSettingsHandler; |
|
30 class CTelBrandingServerHandler; |
|
31 class CTelBrandingBubble; |
|
32 class CElement; |
|
33 |
|
34 // Class Definitions |
|
35 class CTelBranding : public CTelBubbleExtension |
|
36 { |
|
37 public: |
|
38 static CTelBranding* NewL(); |
|
39 |
|
40 virtual ~CTelBranding(); |
|
41 |
|
42 private: // new functions, example API |
|
43 // from CTelBubbleExtension |
|
44 |
|
45 /** @see CTelBubbleExtension::InitializeL */ |
|
46 void InitializeL( MTelBubbleExtensionObserver& aBubbles ); |
|
47 |
|
48 /** @see CTelBubbleExtension::StartCustomizedBubble */ |
|
49 void StartCustomizedBubble( |
|
50 MTelBubbleExtensionData& aCallData ); |
|
51 |
|
52 /** @see CTelBubbleExtension::StopCustomizedBubble */ |
|
53 void StopCustomizedBubble( |
|
54 MTelBubbleExtensionData& aCallData ); |
|
55 |
|
56 /** @see CTelBubbleExtension::BubbleUpdating */ |
|
57 void BubbleUpdating(); |
|
58 |
|
59 |
|
60 private: // new functions |
|
61 void LoadBrandingL( |
|
62 MTelBubbleExtensionData& aCallData ); |
|
63 |
|
64 CTelBranding(); |
|
65 |
|
66 void ConstructL(); |
|
67 |
|
68 private: // data |
|
69 MTelBubbleExtensionObserver* iObserver; |
|
70 |
|
71 CTelBrandingSettingsHandler* iSettings; |
|
72 |
|
73 RPointerArray<CTelBrandingBubble> iBubbleArray; |
|
74 }; |
|
75 |
|
76 #endif // __TELBRANDING_H__ |
|
77 |
|
78 // end of file |