equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 1996-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 the License "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 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef __R_SMRIAMGE_H__ |
|
20 #define __R_SMRIAMGE_H__ |
|
21 #include "r_obey.h" |
|
22 |
|
23 class CSmrImage |
|
24 { |
|
25 public: |
|
26 CSmrImage(CObeyFile* aObeyFile); |
|
27 ~CSmrImage(); |
|
28 TInt CreateImage(); |
|
29 TBool SetImageName(const StringVector& aValues); |
|
30 TBool SetFormatVersion(const StringVector& aValues); |
|
31 TBool SetHcrData(const StringVector& aValues); |
|
32 TBool SetPayloadUID(const StringVector& aValues); |
|
33 TBool SetPayloadFlags(const StringVector& aValues); |
|
34 TInt Initialise(); |
|
35 String GetImageName(){ return iImageName; }; |
|
36 private: |
|
37 CObeyFile* iObeyFile; |
|
38 SSmrRomHeader iSmrRomHeader; |
|
39 String iImageName; |
|
40 String iHcrData; |
|
41 private: |
|
42 TUint32 StrToInt(const char* aStr); |
|
43 |
|
44 }; |
|
45 |
|
46 #endif |