imgtools/romtools/rofsbuild/r_romnode.h
changeset 691 9eeecb73a5d4
parent 590 360bd6b35136
child 694 c3fbb20e86f0
equal deleted inserted replaced
690:c67de7b29582 691:9eeecb73a5d4
    18 
    18 
    19 #ifndef __R_ROMNODE_H__
    19 #ifndef __R_ROMNODE_H__
    20 #define __R_ROMNODE_H__
    20 #define __R_ROMNODE_H__
    21 
    21 
    22 #include <fstream>
    22 #include <fstream>
       
    23 #include <vector>
       
    24 #include <string>
    23 #include <e32std.h>
    25 #include <e32std.h>
    24 #include "rofs.h"
    26 #include "rofs.h"
    25 #include "e32image.h"
    27 #include "e32image.h"
    26 #include "h_utl.h"
    28 #include "h_utl.h"
    27 
    29 
   121 	static void displayFlatList();
   123 	static void displayFlatList();
   122 	TInt FullNameLength(TBool aIgnoreHiddenAttrib = EFalse) const;
   124 	TInt FullNameLength(TBool aIgnoreHiddenAttrib = EFalse) const;
   123 	TInt GetFullName(char* aBuf, TBool aIgnoreHiddenAttrib = EFalse) const;
   125 	TInt GetFullName(char* aBuf, TBool aIgnoreHiddenAttrib = EFalse) const;
   124 	static void InitializeCount();
   126 	static void InitializeCount();
   125 	// Accessor Function.
   127 	// Accessor Function.
   126     inline TRomNode* GetParent() const { return iParent; }
   128    	inline TRomNode* GetParent() const { return iParent; }
       
   129 	void FlushLogMessages();
   127 
   130 
   128 private:
   131 private:
   129 	void Remove(TRomNode* aChild);
   132 	void Remove(TRomNode* aChild);
   130 	void Add(TRomNode* aChild);
   133 	void Add(TRomNode* aChild);
   131 	void Clone(TRomNode* aOriginal);
   134 	void Clone(TRomNode* aOriginal);
   207 	DllDataEntry* iFirstDllDataEntry;
   210 	DllDataEntry* iFirstDllDataEntry;
   208 
   211 
   209 public:
   212 public:
   210 	char *iName;
   213 	char *iName;
   211 	char *iFileName;
   214 	char *iFileName;
       
   215 	std::vector<std::string> iLogMessages;
   212 
   216 
   213 	TRomBuilderEntry* iNext;
   217 	TRomBuilderEntry* iNext;
   214 	TRomBuilderEntry* iNextInArea;
   218 	TRomBuilderEntry* iNextInArea;
   215 	TBool iExecutable;
   219 	TBool iExecutable;
   216 	TBool iFileOffset; // offset of the file in ROM
   220 	TBool iFileOffset; // offset of the file in ROM