imgtools/imgcheck/libimgutils/inc/e32reader.h
changeset 0 044383f39525
child 590 360bd6b35136
equal deleted inserted replaced
-1:000000000000 0:044383f39525
       
     1 /*
       
     2 * Copyright (c) 2007-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 * E32Reader class
       
    16 * @internalComponent
       
    17 * @released
       
    18 *
       
    19 */
       
    20 
       
    21 
       
    22 #ifndef E32READER_H
       
    23 #define E32READER_H
       
    24 
       
    25 #include "imagereader.h"
       
    26 #include "e32image.h"
       
    27 
       
    28 class E32Image : public E32ImageFile
       
    29 {
       
    30 public:
       
    31 	E32Image(void);
       
    32 	~E32Image(void);
       
    33 	char** GetImportExecutableNames(int& count);
       
    34 };
       
    35 
       
    36 /**
       
    37 class to read E32 image
       
    38 
       
    39 @internalComponent
       
    40 @released
       
    41 */
       
    42 class E32Reader : public ImageReader
       
    43 {
       
    44 private:
       
    45 	StringList iDependencyList;
       
    46 	E32Image *iE32Image;
       
    47 	String iExeName;
       
    48 
       
    49 public:
       
    50 	void ReadImage(void);
       
    51 	void ProcessImage(void);
       
    52 	E32Reader(char* aImageName);
       
    53 	~E32Reader(void);
       
    54 
       
    55 	const StringList& GetDependencyList(void);
       
    56 	ExeNamesVsDepListMap& GatherDependencies(void);
       
    57 	static bool IsE32Image(char* aImageName);
       
    58 	void PrepareExeVsIdMap(void);
       
    59 	const ExeVsIdDataMap& GetExeVsIdMap() const;
       
    60 };
       
    61 
       
    62 #endif //E32READER_H