]> git.tdb.fi Git - libs/datafile.git/blobdiff - tool/tool.h
Add an unpack option to the data tool
[libs/datafile.git] / tool / tool.h
index a682d01781502bdd6a2fd452b3d16683cddfe87b..88f849bbea956667902291d36ce02003d2829e0e 100644 (file)
@@ -8,13 +8,14 @@
 class DataTool: public Msp::RegisteredApplication<DataTool>
 {
 private:
-       std::vector<std::string> in_fns;
+       std::list<std::string> in_fns;
        std::string out_fn;
        bool binary;
        bool compile;
        unsigned float_size;
        bool compress;
        bool pack;
+       bool unpack;
        bool debug;
 
 public:
@@ -25,6 +26,7 @@ private:
        void do_transfer();
        void do_compile();
        void do_pack();
+       void do_unpack();
        Msp::IO::Base *open_output(const std::string &);
        Msp::IO::Base *open_input(const std::string &);
 public: