#ifndef ZIPPERARCHIVEIMPORT_HPP #define ZIPPERARCHIVEIMPORT_HPP #include #include #include #include namespace Slic3r { struct EntryBuffer { std::vector buf; std::string fname; }; struct ZipperArchive { boost::property_tree::ptree profile, config; std::vector entries; }; const constexpr char *CONFIG_FNAME = "config.ini"; const constexpr char *PROFILE_FNAME = "prusaslicer.ini"; ZipperArchive read_zipper_archive(const std::string &zipfname, const std::vector &includes, const std::vector &excludes); } // namespace Slic3r #endif // ZIPPERARCHIVEIMPORT_HPP