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