]> git.lyx.org Git - lyx.git/blob - src/frontends/gtk/FileDialog.C
some tabular fixes for the problems reported by Helge
[lyx.git] / src / frontends / gtk / FileDialog.C
1 /**
2  * \file gtk/FileDialog.C
3  * This file is part of LyX, the document processor.
4  * Licence details can be found in the file COPYING.
5  *
6  * \author Huang Ying
7  *
8  * Full author contact details are available in file CREDITS.
9  */
10
11 #include <config.h>
12
13 // Too hard to make concept checks work with this file
14 #ifdef _GLIBCXX_CONCEPT_CHECKS
15 #undef _GLIBCXX_CONCEPT_CHECKS
16 #endif
17 #ifdef _GLIBCPP_CONCEPT_CHECKS
18 #undef _GLIBCPP_CONCEPT_CHECKS
19 #endif
20
21 #include "FileDialogPrivate.h"
22
23 using std::string;
24
25
26 FileDialog::FileDialog(string const & title,
27                        kb_action action,
28                        Button b1,
29                        Button b2)
30 {
31         private_ = new FileDialog::Private(title, action, b1, b2);
32 }
33
34
35 FileDialog::~FileDialog()
36 {
37         delete private_;
38 }
39
40
41 FileDialog::Result const
42 FileDialog::open(string const & path,
43                  lyx::support::FileFilterList const & filters,
44                  string const & suggested)
45 {
46         return private_->open(path, filters, suggested);
47 }
48
49
50 FileDialog::Result const
51 FileDialog::opendir(string const & path,
52                     string const & suggested)
53 {
54         return private_->opendir(path, suggested);
55 }
56
57
58 FileDialog::Result const
59 FileDialog::save(string const & path,
60                  lyx::support::FileFilterList const & filters,
61                  string const & suggested)
62 {
63         return private_->save(path, filters, suggested);
64 }