diff -r 37ee82a83d43 -r 341ab25bc4ef imgtools/romtools/rofsbuild/r_romnode.h --- a/imgtools/romtools/rofsbuild/r_romnode.h Fri Nov 12 14:49:36 2010 +0000 +++ b/imgtools/romtools/rofsbuild/r_romnode.h Tue Nov 23 10:47:23 2010 +0800 @@ -21,6 +21,8 @@ #include #include +#include +#include #include "rofs.h" #include "e32image.h" #include "h_utl.h" @@ -123,7 +125,8 @@ TInt GetFullName(char* aBuf, TBool aIgnoreHiddenAttrib = EFalse) const; static void InitializeCount(); // Accessor Function. - inline TRomNode* GetParent() const { return iParent; } + inline TRomNode* GetParent() const { return iParent; } + void FlushLogMessages(); private: void Remove(TRomNode* aChild); @@ -187,6 +190,12 @@ class DllDataEntry; +struct TLogItem + { + TPrintType iPrintType; + std::string iLogMessage; + }; +typedef vector LogVector; class TRomBuilderEntry { public: @@ -199,6 +208,7 @@ inline TInt RealFileSize() const { return iRealFileSize; }; inline void SetRealFileSize(TInt aFileSize) { iRealFileSize=aFileSize;}; void DisplaySize(TPrintType aWhere); + char* GetSystemFullName(); private: TRomBuilderEntry(); @@ -217,6 +227,7 @@ TUint iCompressEnabled; TUint8 iUids[sizeof(TCheckedUid)]; TBool iHidden; + LogVector iLogMessages; DllDataEntry* GetFirstDllDataEntry() const; void SetFirstDllDataEntry(DllDataEntry *aDllDataEntry);