mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-11 13:46:43 +00:00
84ff0a283c
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9323 a592a061-630c-0410-9148-cb99ea01b6c8
44 lines
1.1 KiB
C++
44 lines
1.1 KiB
C++
// -*- C++ -*-
|
|
/**
|
|
* \file FileDialogPrivate.h
|
|
* This file is part of LyX, the document processor.
|
|
* Licence details can be found in the file COPYING.
|
|
*
|
|
* \author Huang Ying
|
|
* \author John Spray
|
|
*
|
|
* Full author contact details are available in file CREDITS.
|
|
*/
|
|
|
|
#ifndef FILE_DIALOG_PRIVATE_H
|
|
#define FILE_DIALOG_PRIVATE_H
|
|
|
|
#include "frontends/FileDialog.h"
|
|
|
|
#include <gtkmm.h>
|
|
|
|
class FileDialog::Private : public sigc::trackable {
|
|
public:
|
|
Private(std::string const & title,
|
|
kb_action action,
|
|
FileDialog::Button b1, FileDialog::Button b2);
|
|
FileDialog::Result const open(std::string const & path,
|
|
lyx::support::FileFilterList const & filters,
|
|
std::string const & suggested);
|
|
FileDialog::Result const opendir(std::string const & path,
|
|
std::string const & suggested);
|
|
FileDialog::Result const save(std::string const & path,
|
|
lyx::support::FileFilterList const & filters,
|
|
std::string const & suggested);
|
|
|
|
FileDialog::Result const showChooser(std::string const & path,
|
|
lyx::support::FileFilterList const & filters,
|
|
std::string const & suggested);
|
|
|
|
private:
|
|
kb_action action_;
|
|
Gtk::FileChooserDialog fileChooser_;
|
|
};
|
|
|
|
#endif
|