equal
deleted
inserted
replaced
72 /** |
72 /** |
73 * Adds the write the package details into the stream. |
73 * Adds the write the package details into the stream. |
74 * @param aStream - Stream in which the package entries need to be written. |
74 * @param aStream - Stream in which the package entries need to be written. |
75 * @param aVerbose - If this option is set then detail description of pkg |
75 * @param aVerbose - If this option is set then detail description of pkg |
76 * will be written into the stream. |
76 * will be written into the stream. |
|
77 * @param aCompatible - Flag to notify AddPackageEntry that Dumpsis works in the original,compatible mode |
|
78 * or in the new way. |
77 */ |
79 */ |
78 inline void AddPackageEntry(std::wostream& aStream, bool aVerbose) const; |
80 inline void AddPackageEntry(std::wostream& aStream, bool aVerbose, bool aCompatible) const; |
79 |
81 |
80 private: |
82 private: |
81 CSISUInt32 iUID; |
83 CSISUInt32 iUID; |
82 |
84 |
83 }; |
85 }; |
120 inline std::string CSISUid::Name () const |
122 inline std::string CSISUid::Name () const |
121 { |
123 { |
122 return "Uid"; |
124 return "Uid"; |
123 } |
125 } |
124 |
126 |
125 inline void CSISUid::AddPackageEntry(std::wostream& aStream, bool aVerbose) const |
127 inline void CSISUid::AddPackageEntry(std::wostream& aStream, bool aVerbose, bool aCompatible) const |
126 { |
128 { |
127 aStream << L"0x" << std::hex << iUID << std::dec; |
129 aStream << L"0x" << std::hex << iUID << std::dec; |
128 } |
130 } |
129 |
131 |
130 #ifdef GENERATE_ERRORS |
132 #ifdef GENERATE_ERRORS |