X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=tool%2Ftool.h;h=a682d01781502bdd6a2fd452b3d16683cddfe87b;hb=2af11bfb5184092e58cb9a0055ae03a271af28cb;hp=2cfcf1573514343da799ad9c1407237c2cf9b30e;hpb=8955db30f9cd1c1566b349da29e669f065f84e36;p=libs%2Fdatafile.git diff --git a/tool/tool.h b/tool/tool.h index 2cfcf15..a682d01 100644 --- a/tool/tool.h +++ b/tool/tool.h @@ -3,6 +3,7 @@ #include #include +#include class DataTool: public Msp::RegisteredApplication { @@ -13,6 +14,8 @@ private: bool compile; unsigned float_size; bool compress; + bool pack; + bool debug; public: DataTool(int argc, char **argv); @@ -21,9 +24,11 @@ public: private: void do_transfer(); void do_compile(); + void do_pack(); Msp::IO::Base *open_output(const std::string &); Msp::IO::Base *open_input(const std::string &); - void set_writer_parameters(Msp::DataFile::Writer &); +public: + Msp::DataFile::Writer *create_writer(Msp::IO::Base &); }; #endif