*
* \author John Levon
*
- * Full author contact details are available in file CREDITS
+ * Full author contact details are available in file CREDITS.
*/
#include <config.h>
-
-#include "FormFiledialog.h"
#include "frontends/FileDialog.h"
-#include "frontends/LyXView.h"
-#include "bufferview_funcs.h"
-#include "gettext.h"
-#include "lfuns.h"
+#include "FormFiledialog.h"
+
#include "debug.h"
+#include "gettext.h"
+
#include "support/lstrings.h"
-#include <utility>
-using namespace lyx::support;
+using lyx::support::rsplit;
-using std::make_pair;
-using std::pair;
using std::endl;
+using std::string;
+
FileDialog::FileDialog(string const &t, kb_action s, Button b1, Button b2)
: private_(0), title_(t), success_(s)
{
- private_ = new FileDialog::Private();
+ private_ = new FileDialog::Private;
private_->SetButton(0, b1.first, b1.second);
private_->SetButton(1, b2.first, b2.second);