Show all supported formats in show_help().

This commit is contained in:
Markus F.X.J. Oberhumer
2006-11-30 23:17:22 +01:00
parent 72a18f2b3f
commit 826312cbad
6 changed files with 139 additions and 87 deletions
+9 -3
View File
@@ -41,7 +41,7 @@ class OutputFile;
class PackMaster
{
public:
PackMaster(InputFile *f, struct options_t *o = NULL);
PackMaster(InputFile *f, options_t *o = NULL);
virtual ~PackMaster();
void pack(OutputFile *fo);
@@ -50,13 +50,19 @@ public:
void list();
void fileInfo();
typedef Packer* (*visit_func_t)(Packer *p, void *user);
static Packer* visitAllPackers(visit_func_t, InputFile *f, const options_t *, void *user);
private:
InputFile *fi;
Packer *p;
static Packer *getPacker(InputFile *f);
static Packer *getUnpacker(InputFile *f);
// setup local options for each file
struct options_t local_options;
struct options_t *saved_opt;
options_t local_options;
options_t *saved_opt;
};