14 #ifndef DECOMPRESSOR_H
15 #define DECOMPRESSOR_H
29 class EXPCL_PANDA_DOWNLOADER Decompressor {
34 int initiate(
const Filename &source_file);
38 bool decompress(
const Filename &source_file);
39 bool decompress(
Ramfile &source_and_dest_file);
41 PN_stdfloat get_progress()
const;
44 MAKE_PROPERTY(progress, get_progress);
51 std::istream *_source;
52 std::istream *_decompress;
55 size_t _source_length;
The name of a file, such as a texture file or an Egg file.
An in-memory buffer specifically designed for downloading files to memory.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.