rework speed timeline picons/waves
[goodguy/history.git] / cinelerra-5.1 / cinelerra / filexml.h
index 4cff675866c22510f115fcba962491ba5e8bb8c3..a701b649e0cc13352f0137f661131409ba8fc5af 100644 (file)
@@ -41,7 +41,7 @@ class XMLBuffer
        unsigned char *&demand(long len);
 public:
        XMLBuffer(long buf_size=0x1000, long max_size=LONG_MAX, int del=1);
-       XMLBuffer(long buf_size, const char *buf, int del=0); // writing
+       XMLBuffer(long buf_size, char *buf, int del=0); // writing
        XMLBuffer(const char *buf, long buf_size, int del=0); // reading
        ~XMLBuffer();
 
@@ -100,7 +100,6 @@ public:
        int64_t get_property(const char *property, int64_t default_);
        float get_property(const char *property, float default_);
        double get_property(const char *property, double default_);
-       const char* get_property_text(const char *property);
 
        int set_title(const char *text);
        int set_property(const char *text, const char *value);
@@ -134,8 +133,8 @@ public:
        int append_data(const char *text, long len);
 
        char* read_text();
-       int read_data_until(const char *tag_end, char *out, int len);
-       int read_text_until(const char *tag_end, char *out, int len);
+       int read_data_until(const char *tag_end, char *out, int len, int skip=0);
+       int read_text_until(const char *tag_end, char *out, int len, int skip=0);
        int read_tag();
        int skip_tag();
        int write_to_file(const char *filename);