20
20
#define __EXTRACT_DIALOG_H
22
22
#include "archive.h"
23
#include <sys/types.h>
27
GtkWidget *dialog_vbox1;
31
GtkWidget *extract_to_label;
32
GtkWidget *destination_path_entry;
37
GtkWidget *alignment1;
38
GtkWidget *alignment2;
39
GtkWidget *alignment3;
41
GtkWidget *all_files_radio;
42
GtkWidget *selected_files_radio;
44
GtkWidget *files_frame_label;
47
GtkWidget *overwrite_check;
48
GtkWidget *extract_full;
54
GtkWidget *label_password;
55
GtkWidget *password_entry;
56
GtkWidget *options_frame_label;
57
GtkWidget *dialog_action_area1;
58
GtkWidget *cancel_button;
59
GtkWidget *extract_button;
60
GtkWidget *extract_image;
61
GtkWidget *extract_label;
62
GtkWidget *extract_hbox;
63
GtkTooltips *option_tooltip;
28
GtkWidget *dialog1,*dialog_vbox1,*destination_path_entry,*overwrite_check,*extract_full,*touch,*fresh,*update,*all_files_radio,*files_radio,
29
*selected_radio,*entry2,*password_entry;
64
31
} Extract_dialog_data;
66
Extract_dialog_data *xa_create_extract_dialog (gint selected ,XArchive *archive);
67
void fresh_update_toggled_cb (GtkToggleButton *button, Extract_dialog_data *data);
68
void update_fresh_toggled_cb (GtkToggleButton *button, Extract_dialog_data *data);
69
gchar *xa_parse_extract_dialog_options ( XArchive *archive , Extract_dialog_data *dialog_data, GtkTreeSelection *selection);
70
gchar *xa_extract_single_files ( XArchive *archive , GString *files, gchar *path);
71
gboolean xa_create_temp_directory (gchar tmp_dir[]);
72
gboolean xa_extract_tar_without_directories ( gchar *string, gchar *escaped_path, gboolean overwrite, gboolean tar_touch, gchar *extract_path , gboolean cpio_flag);
73
gboolean xa_delete_temp_directory ( gchar *dir_name, gboolean flag);
74
void xa_choose_extraction_directory (GtkWidget *widget, gpointer data);
35
GtkWidget *multi_extract,*files_treeview,*hbox2,*extract_to,*entry1,*extract_to_archive_name,*label1,*frame2,*alignment2,*vbox3,*overwrite,*full_path,*label2,*dialog_action_area1,
36
*extract_button,*extract_image,*extract_hbox,*extract_label,*image1;
37
GtkListStore *files_liststore;
39
gboolean stop_pressed;
43
GtkWidget *label1,*label2,*label3,*label_password;
44
GtkWidget *hbox1,*hbox2,*hbox3,*vbox1,*vbox2,*vbox3,*vbox5;
45
GtkWidget *frame1,*frame2,*alignment1,*alignment2,*alignment3;
46
GtkWidget *dialog_action_area1,*cancel_button,*okbutton1,*extract_button,*extract_image,*extract_hbox,*extract_label;
47
GtkTooltips *option_tooltip;
49
Extract_dialog_data *xa_create_extract_dialog();
50
void xa_activate_entry(GtkToggleButton *,gpointer );
51
void fresh_update_toggled_cb (GtkToggleButton *, Extract_dialog_data *);
52
void update_fresh_toggled_cb (GtkToggleButton *, Extract_dialog_data *);
53
void xa_set_extract_dialog_options(Extract_dialog_data *,gint ,XArchive *);
54
void xa_parse_extract_dialog_options (XArchive * , Extract_dialog_data *, GtkTreeSelection *);
55
Multi_extract_data *xa_create_multi_extract_dialog();
56
void xa_activate_remove_button (GtkTreeModel *, GtkTreePath *, GtkTreeIter *, GtkWidget *);
57
void xa_add_files_liststore (gchar *, Multi_extract_data *);
58
void xa_parse_multi_extract_archive(Multi_extract_data *);