\r
#include <common/exception/exceptions.h>\r
\r
-#include <fstream>\r
-#include <streambuf>\r
+#include <boost/property_tree/ptree.hpp>\r
+#include <boost/property_tree/xml_parser.hpp>\r
+#include <boost/algorithm/string/replace.hpp>\r
\r
#include <zlib.h>\r
\r
+#include <fstream>\r
+#include <streambuf>\r
+\r
namespace caspar { namespace flash {\r
\r
std::vector<char> decompress_one_file(const std::vector<char>& in_data, uLong buf_size = 5000000)\r
return out_data;\r
}\r
\r
-std::wstring read_template_meta_info(const std::wstring& filename)\r
+std::string read_template_meta_info(const std::wstring& filename)\r
{\r
auto file = std::fstream(filename, std::ios::in | std::ios::binary);\r
\r
\r
if(beg_it == data.end() || end_it == data.end())\r
BOOST_THROW_EXCEPTION(file_read_error());\r
- \r
- return widen(std::string(beg_it, end_it+end_str.size()));\r
+ \r
+ return std::string(beg_it, end_it+end_str.size());\r
}\r
\r
}}
\ No newline at end of file