prevent popup deactivation while button_down
[goodguy/history.git] / cinelerra-5.0 / guicast / bchash.h
index a6ebde0f5dff2d877dbb728a687bc59681883bb7..36c4a4a3f7aaf8a6b9e1e27e4875f4f9e33dc1eb 100644 (file)
@@ -29,7 +29,6 @@
 
 #include "bcwindowbase.inc"
 #include "bctextbox.inc"
-#include "stringfile.inc"
 #include "units.h"
 
 
@@ -40,12 +39,12 @@ public:
        BC_Hash(const char *filename);
        virtual ~BC_Hash();
 
+       int load_file(FILE *fp);
        int load();        // load from disk file
+       int save_file(FILE *fp);
        int save();        // save to disk file
        int load_string(const char *string);        // load from string
        int save_string(char* &string);       // save to new string
-       void save_stringfile(StringFile *file);
-       void load_stringfile(StringFile *file);
        int update(const char *name, double value); // update a value if it exists
        int update(const char *name, float value); // update a value if it exists
        int update(const char *name, int32_t value); // update a value if it exists
@@ -82,6 +81,7 @@ public:
        int size();
        char* get_key(int number);
        char* get_value(int number);
+       void clear();
 
 private:
 // Reallocate table so at least total entries exist