]> git.lyx.org Git - lyx.git/blob - src/frontends/gtk/FileDialog.C
partial compile fix
[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 lyx::docstring;
24
25 using std::string;
26
27
28 FileDialog::FileDialog(docstring const & title,
29                        kb_action action,
30                        Button b1,
31                        Button b2)
32 {
33         private_ = new FileDialog::Private(title, action, b1, b2);
34 }
35
36
37 FileDialog::~FileDialog()
38 {
39         delete private_;
40 }
41
42
43 FileDialog::Result const
44 FileDialog::open(docstring const & path,
45                  lyx::support::FileFilterList const & filters,
46                  docstring const & suggested)
47 {
48         return private_->open(path, filters, suggested);
49 }
50
51
52 FileDialog::Result const
53 FileDialog::opendir(docstring const & path,
54                     docstring const & suggested)
55 {
56         return private_->opendir(path, suggested);
57 }
58
59
60 FileDialog::Result const
61 FileDialog::save(docstring const & path,
62                  lyx::support::FileFilterList const & filters,
63                  docstring const & suggested)
64 {
65         return private_->save(path, filters, suggested);
66 }