]> git.lyx.org Git - lyx.git/blob - src/frontends/gtk/FileDialog.C
fix math fonts with LyX/Mac
[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 #include "FileDialogPrivate.h"
14
15 using std::string;
16
17
18 FileDialog::FileDialog(string const & title,
19                        kb_action action,
20                        Button b1,
21                        Button b2)
22 {
23         private_ = new FileDialog::Private(title, action, b1, b2);
24 }
25
26
27 FileDialog::~FileDialog()
28 {
29         delete private_;
30 }
31
32
33 FileDialog::Result const
34 FileDialog::open(string const & path,
35                  lyx::support::FileFilterList const & filters,
36                  string const & suggested)
37 {
38         return private_->open(path, filters, suggested);
39 }
40
41
42 FileDialog::Result const
43 FileDialog::opendir(string const & path,
44                     string const & suggested)
45 {
46         return private_->opendir(path, suggested);
47 }
48
49
50 FileDialog::Result const
51 FileDialog::save(string const & path,
52                  lyx::support::FileFilterList const & filters,
53                  string const & suggested)
54 {
55         return private_->save(path, filters, suggested);
56 }