qt: add missing initializers (CID 1325722)
[metze/wireshark/wip.git] / ui / file_dialog.h
1 /* file_dialog.h
2  * Common file dialog definitions
3  *
4  * Wireshark - Network traffic analyzer
5  * By Gerald Combs <gerald@wireshark.org>
6  * Copyright 2006 Gerald Combs
7  *
8  * This program is free software; you can redistribute it and/or
9  * modify it under the terms of the GNU General Public License
10  * as published by the Free Software Foundation; either version 2
11  * of the License, or (at your option) any later version.
12  *
13  * This program is distributed in the hope that it will be useful,
14  * but WITHOUT ANY WARRANTY; without even the implied warranty of
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16  * GNU General Public License for more details.
17  *
18  * You should have received a copy of the GNU General Public License
19  * along with this program; if not, write to the Free Software
20  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
21  */
22
23 #ifndef __FILE_DIALOG_H__
24 #define __FILE_DIALOG_H__
25
26 #ifdef __cplusplus
27 extern "C" {
28 #endif /* __cplusplus */
29
30 typedef enum {
31   SAVE,
32   SAVE_WITHOUT_COMMENTS,
33   SAVE_IN_ANOTHER_FORMAT,
34   CANCELLED
35 } check_savability_t;
36
37 typedef enum {
38     merge_append,
39     merge_chrono,
40     merge_prepend
41 } merge_action_e;
42
43 typedef enum {
44     export_type_text = 1,
45     export_type_ps,
46     export_type_csv,
47     export_type_psml,
48     export_type_pdml,
49     export_type_carrays
50 } export_type_e;
51
52 #ifdef __cplusplus
53 }
54 #endif /* __cplusplus */
55
56 #endif /* __FILE_DIALOG_H__ */
57
58 /*
59  * Editor modelines
60  *
61  * Local Variables:
62  * c-basic-offset: 4
63  * tab-width: 8
64  * indent-tabs-mode: nil
65  * End:
66  *
67  * ex: set shiftwidth=4 tabstop=8 expandtab:
68  * :indentSize=4:tabSize=8:noTabs=true:
69  */