diff options
Diffstat (limited to 'src/fr-command-lha.c')
-rw-r--r-- | src/fr-command-lha.c | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/src/fr-command-lha.c b/src/fr-command-lha.c index 9996bba..54d8354 100644 --- a/src/fr-command-lha.c +++ b/src/fr-command-lha.c @@ -40,7 +40,6 @@ static void fr_command_lha_finalize (GObject *object); static FrCommandClass *parent_class = NULL; - /* -- list -- */ static time_t @@ -93,7 +92,6 @@ mktime_from_string (char *month, return mktime (&tm); } - static char ** split_line_lha (char *line) { @@ -141,7 +139,6 @@ split_line_lha (char *line) return fields; } - static const char * get_last_field_lha (char *line) { @@ -170,7 +167,6 @@ get_last_field_lha (char *line) return field; } - static void process_line (char *line, gpointer data) @@ -219,7 +215,6 @@ process_line (char *line, fr_command_add_file (comm, fdata); } - static void fr_command_lha_list (FrCommand *comm) { @@ -232,7 +227,6 @@ fr_command_lha_list (FrCommand *comm) fr_process_start (comm->process); } - static void fr_command_lha_add (FrCommand *comm, const char *from_file, @@ -256,7 +250,6 @@ fr_command_lha_add (FrCommand *comm, fr_process_end_command (comm->process); } - static void fr_command_lha_delete (FrCommand *comm, const char *from_file, @@ -272,7 +265,6 @@ fr_command_lha_delete (FrCommand *comm, fr_process_end_command (comm->process); } - static void fr_command_lha_extract (FrCommand *comm, const char *from_file, @@ -311,7 +303,6 @@ fr_command_lha_extract (FrCommand *comm, fr_process_end_command (comm->process); } - static void fr_command_lha_test (FrCommand *comm) { @@ -321,17 +312,14 @@ fr_command_lha_test (FrCommand *comm) fr_process_end_command (comm->process); } - const char *lha_mime_type[] = { "application/x-lzh-compressed", "application/x-lha", NULL }; - static const char ** fr_command_lha_get_mime_types (FrCommand *comm) { return lha_mime_type; } - static FrCommandCap fr_command_lha_get_capabilities (FrCommand *comm, const char *mime_type, @@ -346,7 +334,6 @@ fr_command_lha_get_capabilities (FrCommand *comm, return capabilities; } - static const char * fr_command_lha_get_packages (FrCommand *comm, const char *mime_type) @@ -354,7 +341,6 @@ fr_command_lha_get_packages (FrCommand *comm, return PACKAGES ("lha"); } - static void fr_command_lha_class_init (FrCommandLhaClass *class) { @@ -376,7 +362,6 @@ fr_command_lha_class_init (FrCommandLhaClass *class) afc->get_packages = fr_command_lha_get_packages; } - static void fr_command_lha_init (FrCommand *comm) { @@ -390,7 +375,6 @@ fr_command_lha_init (FrCommand *comm) comm->propTest = TRUE; } - static void fr_command_lha_finalize (GObject *object) { @@ -402,7 +386,6 @@ fr_command_lha_finalize (GObject *object) G_OBJECT_CLASS (parent_class)->finalize (object); } - GType fr_command_lha_get_type () { |