Many additions and changes.
This commit is contained in:
1 parent
50f6e972de
commit
08169b1c3d
30 files changed
+451
-63
No files matched your search
+6
-3
@@ -12,10 +12,13 @@ namespace coreutils {
|
||||
std::string value;
|
||||
for(PString section: sections) {
|
||||
IMFMessage message(section);
|
||||
IMFPlainText *text = (IMFPlainText *)message.getBody();
|
||||
std::cout << text->toString();
|
||||
if(message.getHeaderKeyPairValue("Content-Disposition", "name") == name) {
|
||||
IMFPlainText *text = (IMFPlainText *)message.getBody();
|
||||
return text->toString();
|
||||
}
|
||||
|
||||
}
|
||||
return value;
|
||||
return "";
|
||||
}
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user