imgtools/romtools/rombuild/r_areaset.h
changeset 590 360bd6b35136
parent 0 044383f39525
child 617 3a747a240983
equal deleted inserted replaced
588:c7c26511138f 590:360bd6b35136
    30 #include <map>
    30 #include <map>
    31 #include <fstream>
    31 #include <fstream>
    32 
    32 
    33 #include <e32std.h>
    33 #include <e32std.h>
    34 #include <e32rom.h>				// TLinAddr
    34 #include <e32rom.h>				// TLinAddr
    35 
    35 using namespace std;
    36 typedef std::vector<std::string> TStringList;
    36 
       
    37 typedef vector<string> TStringList;
    37 struct DepInfo
    38 struct DepInfo
    38 {
    39 {
    39 public:
    40 public:
    40 	TBool dependOthers;
    41 	TBool dependOthers;
    41 	TBool beenDepended;
    42 	TBool beenDepended;
    42 	int index;
    43 	int index;
    43 	std::string portName;
    44 	string portName;
    44 	TStringList depFilesList;
    45 	TStringList depFilesList;
    45 	DepInfo()
    46 	DepInfo()
    46 	{
    47 	{
    47 		dependOthers = EFalse;
    48 		dependOthers = EFalse;
    48 		beenDepended = EFalse;
    49 		beenDepended = EFalse;
    49 		index = -1;
    50 		index = -1;
    50 	}
    51 	}
    51 };
    52 };
    52 typedef std::map<std::string, DepInfo> TDepInfoList;
    53 typedef map<string, DepInfo> TDepInfoList;
    53 
    54 
    54 class TRomBuilderEntry;
    55 class TRomBuilderEntry;
    55 
    56 
    56 /**
    57 /**
    57  A zone of memory in which files are stored.
    58  A zone of memory in which files are stored.
   102 	void ReleaseAllFiles();
   103 	void ReleaseAllFiles();
   103 	void WriteDependenceGraph();
   104 	void WriteDependenceGraph();
   104 public:
   105 public:
   105 	TRomBuilderEntry* iFirstPagedCode; // For PagedRom only
   106 	TRomBuilderEntry* iFirstPagedCode; // For PagedRom only
   106 private:
   107 private:
   107 	const char* iName;
   108 	char* iName;
   108 	TLinAddr iDestBaseAddr;
   109 	TLinAddr iDestBaseAddr;
   109 	TLinAddr iSrcBaseAddr;
   110 	TLinAddr iSrcBaseAddr;
   110 	TLinAddr iSrcLimitAddr;
   111 	TLinAddr iSrcLimitAddr;
   111 	TUint iMaxSize;
   112 	TUint iMaxSize;
   112 
   113