--- a/imgtools/romtools/rofsbuild/r_romnode.h Thu Nov 18 16:02:32 2010 +0800
+++ b/imgtools/romtools/rofsbuild/r_romnode.h Fri Nov 19 13:37:08 2010 +0800
@@ -21,6 +21,8 @@
#include <fstream>
#include <e32std.h>
+#include <vector>
+#include <string>
#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<TLogItem> LogVector;
class TRomBuilderEntry
{
public:
@@ -218,6 +227,7 @@
TUint iCompressEnabled;
TUint8 iUids[sizeof(TCheckedUid)];
TBool iHidden;
+ LogVector iLogMessages;
DllDataEntry* GetFirstDllDataEntry() const;
void SetFirstDllDataEntry(DllDataEntry *aDllDataEntry);