|
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: Class that contains util-functions for logsserviceextension. |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 #ifndef T_TLOGSEXTUTIL_H |
|
21 #define T_TLOGSEXTUTIL_H |
|
22 |
|
23 |
|
24 class RFile; |
|
25 |
|
26 NONSHARABLE_CLASS(TLogsExtUtil) |
|
27 { |
|
28 |
|
29 public: |
|
30 |
|
31 /** |
|
32 * This function takes a service id and a element id as input arguments |
|
33 * and returns a file handle and bitmap ids of the requested bitmaps. |
|
34 * |
|
35 * Note: Ownership of the file handle is transferred to the caller. |
|
36 * Remember to close the file handle. |
|
37 * |
|
38 * @since S60 v3.2 |
|
39 * @param aServiceId a service id |
|
40 * @param aElementId an element id, this is the element id defined in the |
|
41 * xml-sheet of the branding package, e.g."person:open:image" |
|
42 * @param aBitmapFile a file handle to the file that contains the bitmaps |
|
43 * @param aBitmapId a bitmap id |
|
44 * @param aBitmapMaskId a bitmapmask id |
|
45 */ |
|
46 static void GetFileHandleL( |
|
47 const TUint32 aServiceId, |
|
48 const TDesC8& aElementId, |
|
49 RFile& aBitmapFile, |
|
50 TInt& aBitmapId, |
|
51 TInt& aBitmapMaskId ); |
|
52 |
|
53 }; |
|
54 |
|
55 #endif // T_TLOGSEXTUTIL_H |