diff options
author | Perberos <[email protected]> | 2011-11-09 22:53:33 -0300 |
---|---|---|
committer | Perberos <[email protected]> | 2011-11-09 22:53:33 -0300 |
commit | 70438138096a47b2505ac55634cd94947ce378b6 (patch) | |
tree | e45e49dda10a71616466500a4ab65d1c54b5f6c1 /src/dlg-new.h | |
download | engrampa-70438138096a47b2505ac55634cd94947ce378b6.tar.bz2 engrampa-70438138096a47b2505ac55634cd94947ce378b6.tar.xz |
initial
Diffstat (limited to 'src/dlg-new.h')
-rw-r--r-- | src/dlg-new.h | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/src/dlg-new.h b/src/dlg-new.h new file mode 100644 index 0000000..58bc86d --- /dev/null +++ b/src/dlg-new.h @@ -0,0 +1,59 @@ +/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ + +/* + * File-Roller + * + * Copyright (C) 2008 The Free Software Foundation, Inc. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Street #330, Boston, MA 02111-1307, USA. + */ + +#ifndef DLG_NEW_H +#define DLG_NEW_H + +#include <gtk/gtk.h> +#include "eggfileformatchooser.h" +#include "fr-window.h" + + +typedef struct { + FrWindow *window; + int *supported_types; + gboolean can_encrypt; + gboolean can_encrypt_header; + gboolean can_create_volumes; + GtkBuilder *builder; + + GtkWidget *dialog; + /*GtkWidget *n_archive_type_combo_box;*/ + GtkWidget *n_other_options_expander; + GtkWidget *n_password_entry; + GtkWidget *n_password_label; + GtkWidget *n_encrypt_header_checkbutton; + GtkWidget *n_volume_checkbutton; + GtkWidget *n_volume_spinbutton; + GtkWidget *n_volume_box; + EggFileFormatChooser *format_chooser; +} DlgNewData; + + +DlgNewData * dlg_new (FrWindow *window); +DlgNewData * dlg_save_as (FrWindow *window, + const char *default_name); +const char * dlg_new_data_get_password (DlgNewData *data); +gboolean dlg_new_data_get_encrypt_header (DlgNewData *data); +int dlg_new_data_get_volume_size (DlgNewData *data); + +#endif /* DLG_NEW_H */ |