]> git.lyx.org Git - lyx.git/blob - src/frontends/gtk/FileDialog.C
The Gtk patch.
[lyx.git] / src / frontends / gtk / FileDialog.C
1 /**
2  * \file 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
17 FileDialog::FileDialog(string const & title,
18                        kb_action action,
19                        Button b1,
20                        Button b2)
21 {
22         private_ = new FileDialog::Private(title, action, b1, b2);
23 }
24
25
26 FileDialog::~FileDialog()
27 {
28         delete private_;
29 }
30
31
32 FileDialog::Result const FileDialog::open(string const & path,
33                                           string const & mask,
34                                           string const & suggested)
35 {
36         return private_->open(path, mask, suggested);
37 }
38
39                 
40 FileDialog::Result const FileDialog::opendir(string const & path,
41                                              string const & suggested)
42 {
43         return private_->opendir(path, suggested);
44 }
45
46
47 FileDialog::Result const FileDialog::save(string const & path,
48                                           string const & mask,
49                                           string const & suggested)
50 {
51         return private_->save(path, mask, suggested);
52 }