equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2008-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 * Checker interface class declaration |
|
16 * @internalComponent |
|
17 * @released |
|
18 * |
|
19 */ |
|
20 |
|
21 |
|
22 #ifndef SIDCHECKER_H |
|
23 #define SIDCHECKER_H |
|
24 |
|
25 #include "checker.h" |
|
26 |
|
27 /** |
|
28 class SID checker for SID validation |
|
29 |
|
30 @internalComponent |
|
31 @released |
|
32 */ |
|
33 class SidChecker : public Checker |
|
34 { |
|
35 protected: |
|
36 SidVsExeMap iSidVsExeMap; |
|
37 bool iSidAll; |
|
38 bool iE32Mode; |
|
39 |
|
40 public: |
|
41 SidChecker(CmdLineHandler* aCmdPtr, ImageReaderPtrList& aImageReaderList); |
|
42 ~SidChecker(void); |
|
43 void Check(ImgVsExeStatus& aImgVsExeStatus); |
|
44 void PrepareAndWriteData(ExeContainer* aExeContainer); |
|
45 |
|
46 private: |
|
47 void FillExeSidStatus(ExeContainer* aExeContainer); |
|
48 const unsigned int GetExecutableOffset(const String& aExeName); |
|
49 void FillExeAttribute(ExeContainer* aExeContainer); |
|
50 }; |
|
51 #endif//SIDCHECKER_H |