|
1 /* |
|
2 * Copyright (c) 2009 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: This file contains the header file of the |
|
15 * : CSsBsHandler class. |
|
16 * |
|
17 */ |
|
18 |
|
19 #ifndef C_SSBSHANDLER_H |
|
20 #define C_SSBSHANDLER_H |
|
21 |
|
22 // INCLUDES |
|
23 #include <e32std.h> |
|
24 #include <e32base.h> |
|
25 #include <fbs.h> |
|
26 |
|
27 // CONSTANTS |
|
28 // None |
|
29 |
|
30 // MACROS |
|
31 // None |
|
32 |
|
33 // DATA TYPES |
|
34 // None |
|
35 |
|
36 // FUNCTION PROTOTYPES |
|
37 // None |
|
38 |
|
39 // FORWARD DECLARATIONS |
|
40 |
|
41 |
|
42 // CLASS DECLARATION |
|
43 |
|
44 /** |
|
45 * CSsBsHandler declaration. |
|
46 * |
|
47 * @since S60 5.0 |
|
48 */ |
|
49 NONSHARABLE_CLASS( CSsBsHandler ) : public CBase |
|
50 { |
|
51 |
|
52 public: // Constructors and destructor |
|
53 |
|
54 /** |
|
55 * Two-phased constructor. |
|
56 */ |
|
57 static CSsBsHandler* NewL(); |
|
58 |
|
59 /** |
|
60 * Two-phased constructor. |
|
61 */ |
|
62 static CSsBsHandler* NewLC(); |
|
63 |
|
64 /** |
|
65 * Destructor. |
|
66 */ |
|
67 virtual ~CSsBsHandler(); |
|
68 |
|
69 public: // New functions |
|
70 |
|
71 /** |
|
72 * Get branded icon |
|
73 * @param aBrandingId Brandind Id. |
|
74 * @param aBrandedBitmap Branded bitmap. |
|
75 * @param aBrandedBitmapMask Bitmap mask. |
|
76 */ |
|
77 void GetBrandedIconL( const TDesC8& aBrandingId, |
|
78 CFbsBitmap*& aBrandedBitmap, |
|
79 CFbsBitmap*& aBrandedBitmapMask ) const; |
|
80 |
|
81 private: |
|
82 |
|
83 /** |
|
84 * C++ default constructor. |
|
85 */ |
|
86 CSsBsHandler(); |
|
87 |
|
88 /** |
|
89 * By default Symbian 2nd phase constructor is private. |
|
90 */ |
|
91 void ConstructL(); |
|
92 |
|
93 }; |
|
94 |
|
95 #endif // C_SSBSHANDLER_H |
|
96 |
|
97 // End of file |