mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-13 14:32:04 +00:00
5f21ba1f56
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9542 a592a061-630c-0410-9148-cb99ea01b6c8
65 lines
1.2 KiB
C
65 lines
1.2 KiB
C
/**
|
|
* \file gtk/FileDialog.C
|
|
* This file is part of LyX, the document processor.
|
|
* Licence details can be found in the file COPYING.
|
|
*
|
|
* \author Huang Ying
|
|
*
|
|
* Full author contact details are available in file CREDITS.
|
|
*/
|
|
|
|
#include <config.h>
|
|
|
|
// Too hard to make concept checks work with this file
|
|
#ifdef _GLIBCXX_CONCEPT_CHECKS
|
|
#undef _GLIBCXX_CONCEPT_CHECKS
|
|
#endif
|
|
#ifdef _GLIBCPP_CONCEPT_CHECKS
|
|
#undef _GLIBCPP_CONCEPT_CHECKS
|
|
#endif
|
|
|
|
#include "FileDialogPrivate.h"
|
|
|
|
using std::string;
|
|
|
|
|
|
FileDialog::FileDialog(string const & title,
|
|
kb_action action,
|
|
Button b1,
|
|
Button b2)
|
|
{
|
|
private_ = new FileDialog::Private(title, action, b1, b2);
|
|
}
|
|
|
|
|
|
FileDialog::~FileDialog()
|
|
{
|
|
delete private_;
|
|
}
|
|
|
|
|
|
FileDialog::Result const
|
|
FileDialog::open(string const & path,
|
|
lyx::support::FileFilterList const & filters,
|
|
string const & suggested)
|
|
{
|
|
return private_->open(path, filters, suggested);
|
|
}
|
|
|
|
|
|
FileDialog::Result const
|
|
FileDialog::opendir(string const & path,
|
|
string const & suggested)
|
|
{
|
|
return private_->opendir(path, suggested);
|
|
}
|
|
|
|
|
|
FileDialog::Result const
|
|
FileDialog::save(string const & path,
|
|
lyx::support::FileFilterList const & filters,
|
|
string const & suggested)
|
|
{
|
|
return private_->save(path, filters, suggested);
|
|
}
|