]> git.lyx.org Git - lyx.git/blob - src/frontends/gtk/FileDialogPrivate.h
some tabular fixes for the problems reported by Helge
[lyx.git] / src / frontends / gtk / FileDialogPrivate.h
1 // -*- C++ -*-
2 /**
3  * \file FileDialogPrivate.h
4  * This file is part of LyX, the document processor.
5  * Licence details can be found in the file COPYING.
6  *
7  * \author Huang Ying
8  * \author John Spray
9  *
10  * Full author contact details are available in file CREDITS.
11  */
12
13 #ifndef FILE_DIALOG_PRIVATE_H
14 #define FILE_DIALOG_PRIVATE_H
15
16 #include "frontends/FileDialog.h"
17
18 #include <gtkmm.h>
19
20 class FileDialog::Private : public sigc::trackable {
21 public:
22         Private(std::string const & title,
23                 kb_action action,
24                 FileDialog::Button b1, FileDialog::Button b2);
25         FileDialog::Result const open(std::string const & path,
26                 lyx::support::FileFilterList const & filters,
27                 std::string const & suggested);
28         FileDialog::Result const opendir(std::string const & path,
29                 std::string const & suggested);
30         FileDialog::Result const save(std::string const & path,
31                 lyx::support::FileFilterList const & filters,
32                 std::string const & suggested);
33
34         FileDialog::Result const showChooser(std::string const & path,
35                 lyx::support::FileFilterList const & filters,
36                 std::string const & suggested);
37
38 private:
39         kb_action action_;
40         Gtk::FileChooserDialog fileChooser_;
41 };
42
43 #endif