equal
deleted
inserted
replaced
20 |
20 |
21 |
21 |
22 #ifndef PATCHDATAPROCESSOR_H |
22 #ifndef PATCHDATAPROCESSOR_H |
23 #define PATCHDATAPROCESSOR_H |
23 #define PATCHDATAPROCESSOR_H |
24 |
24 |
25 #ifdef _MSC_VER |
|
26 #pragma warning(disable: 4786) // identifier was truncated to '255' characters in the debug information |
|
27 #endif |
|
28 |
|
29 #include <e32def.h> |
25 #include <e32def.h> |
30 |
26 #include <string> |
31 #ifdef _L |
|
32 #undef _L |
|
33 #endif |
|
34 |
|
35 #include <iostream> |
27 #include <iostream> |
36 #include <vector> |
28 #include <vector> |
37 #include <map> |
29 #include <map> |
38 #include <sstream> |
30 #include <sstream> |
39 |
31 |
40 typedef std::string String; |
32 |
41 typedef std::vector<String> StringVector; |
33 using namespace std; |
42 typedef std::vector<StringVector> VectorOfStringVector; |
34 typedef vector<string> StringVector; |
43 typedef std::map<String,String> MapOfString; |
35 typedef vector<StringVector> VectorOfStringVector; |
44 typedef std::map<String,String>::iterator MapOfStringIterator; |
36 typedef map<string,string> MapOfString; |
45 typedef std::ostringstream OutputStringStream; |
37 typedef map<string,string>::iterator MapOfStringIterator; |
46 |
38 |
47 /** |
39 /** |
48 Class for patching exported data. |
40 Class for patching exported data. |
49 |
41 |
50 @internalComponent |
42 @internalComponent |
55 VectorOfStringVector iPatchDataStatements; // Vector of string containing patchdata statements. |
47 VectorOfStringVector iPatchDataStatements; // Vector of string containing patchdata statements. |
56 MapOfString iRenamedFileMap; // Map containing information of renamed files. |
48 MapOfString iRenamedFileMap; // Map containing information of renamed files. |
57 |
49 |
58 public: |
50 public: |
59 void AddPatchDataStatement(StringVector aPatchDataStatement); |
51 void AddPatchDataStatement(StringVector aPatchDataStatement); |
60 void AddToRenamedFileMap(String aCurrentName, String aNewName); |
52 void AddToRenamedFileMap(string aCurrentName, string aNewName); |
61 VectorOfStringVector GetPatchDataStatements() const; |
53 VectorOfStringVector GetPatchDataStatements() const; |
62 MapOfString GetRenamedFileMap() const; |
54 MapOfString GetRenamedFileMap() const; |
63 }; |
55 }; |
64 |
56 |
65 |
57 |