X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=tool%2Fpacker.h;h=151947fbba945bd683017cf1389ff5e467278c3d;hb=52fb63aded47733fa67e871ce0bd360b9eea7468;hp=913d7d6825bc30fd6ba58cf94c2e463d8efb880b;hpb=a3935faaba6187cbccc5f2b60b065d9180b1cdee;p=libs%2Fdatafile.git diff --git a/tool/packer.h b/tool/packer.h index 913d7d6..151947f 100644 --- a/tool/packer.h +++ b/tool/packer.h @@ -20,23 +20,22 @@ private: typedef std::list ObjectList; DataTool &tool; - Msp::IO::File *tmp_file; - Msp::IO::Buffered *tmp_buf; + Msp::IO::BufferedFile *tmp_file; std::list directory; unsigned dir_alloc; public: Packer(DataTool &); private: - static Msp::IO::File *tempfile(); + static Msp::IO::BufferedFile *tempfile(); public: ~Packer(); void pack_file(const std::string &); private: - bool detect_raw(Msp::IO::Seekable &); + bool detect_data(Msp::IO::Seekable &); void transfer_datafile(Msp::IO::Base &, const std::string &, Msp::IO::Base &, ObjectList &); - void transfer_raw(Msp::IO::Base &, Msp::IO::Base &); + void transfer_unknown(Msp::IO::Base &, Msp::IO::Base &); public: void create_pack(const std::string &); };