X-Git-Url: https://git.saurik.com/ldid.git/blobdiff_plain/886cb3f1cf485d307519e2024ef141314d42e713..f5db0fc2c3ba3137c5e8b76d577ccd58ae342a63:/ldid.hpp?ds=inline diff --git a/ldid.hpp b/ldid.hpp index b7bbdaf..40b1c8b 100644 --- a/ldid.hpp +++ b/ldid.hpp @@ -3,8 +3,10 @@ #include #include +#include #include #include +#include namespace ldid { @@ -91,8 +93,21 @@ class UnionFolder : public Folder { private: + class StringBuffer : + public std::stringbuf + { + public: + StringBuffer() { + } + + StringBuffer(const StringBuffer &rhs) : + std::stringbuf(rhs.str()) + { + } + }; + Folder &parent_; - std::map files_; + std::map files_; public: UnionFolder(Folder &parent); @@ -106,7 +121,7 @@ class UnionFolder : } }; -std::string Bundle(const std::string &root, Folder &folder, const std::string &key, std::map> &remote); +std::string Bundle(const std::string &root, Folder &folder, const std::string &key, std::map> &remote, const std::string &entitlements); typedef std::map> Slots;