blob: 3f9f6d51fe9dff1645b5617b59718116e3998069 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
|
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
/*
* Engrampa
*
* 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 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 */
|