summaryrefslogtreecommitdiffstats
path: root/include/plist/Structure.h
diff options
context:
space:
mode:
authorGravatar Jonathan Beck2009-11-11 00:18:14 +0100
committerGravatar Jonathan Beck2009-11-11 00:18:14 +0100
commit8c6a809fafa6befff7e2b1adc3df2bdb47042dd1 (patch)
tree2336ae7ee66dbb639c8b8bd8c06171c1f6f6e334 /include/plist/Structure.h
parent53a9f891f82e973440709593d259bd7c1f22dd1a (diff)
downloadlibplist-8c6a809fafa6befff7e2b1adc3df2bdb47042dd1.tar.gz
libplist-8c6a809fafa6befff7e2b1adc3df2bdb47042dd1.tar.bz2
Move some methods and drop Utils class in C++ binding.
Diffstat (limited to 'include/plist/Structure.h')
-rw-r--r--include/plist/Structure.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/plist/Structure.h b/include/plist/Structure.h
index f6e4495..ace8b5c 100644
--- a/include/plist/Structure.h
+++ b/include/plist/Structure.h
@@ -41,6 +41,9 @@ public :
virtual void Remove(Node* node) = 0;
+ static Structure* FromXml(const std::string& xml);
+ static Structure* FromBin(const std::vector<char>& bin);
+
protected:
Structure(Node* parent = NULL);
Structure(plist_type type, Node* parent = NULL);