diff -r ccd52fece6ff -r 0757c2976f96 imgtools/romtools/rofsbuild/r_romnode.h --- a/imgtools/romtools/rofsbuild/r_romnode.h Mon Nov 29 15:29:25 2010 +0800 +++ b/imgtools/romtools/rofsbuild/r_romnode.h Mon Nov 29 15:37:06 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);