2003-08-23 00:17:00 +00:00
|
|
|
// -*- C++ -*-
|
2001-11-26 10:19:58 +00:00
|
|
|
/**
|
|
|
|
* \file Alert_pimpl.h
|
2002-09-05 15:14:23 +00:00
|
|
|
* This file is part of LyX, the document processor.
|
|
|
|
* Licence details can be found in the file COPYING.
|
2001-11-26 10:19:58 +00:00
|
|
|
*
|
2002-12-01 22:59:25 +00:00
|
|
|
* \author John Levon
|
2002-09-05 14:10:50 +00:00
|
|
|
*
|
2003-08-23 00:17:00 +00:00
|
|
|
* Full author contact details are available in file CREDITS.
|
2001-11-26 10:19:58 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
// GUI-specific implementations
|
2003-03-29 07:09:13 +00:00
|
|
|
|
2003-09-05 22:17:02 +00:00
|
|
|
#include <utility>
|
2003-10-06 15:43:21 +00:00
|
|
|
#include <string>
|
2003-09-05 13:15:43 +00:00
|
|
|
|
2003-10-06 15:43:21 +00:00
|
|
|
|
|
|
|
int prompt_pimpl(std::string const & title, std::string const & question,
|
2004-10-05 10:11:42 +00:00
|
|
|
int default_button, int escape_button,
|
|
|
|
std::string const & b1,
|
|
|
|
std::string const & b2,
|
|
|
|
std::string const & b3);
|
2003-03-29 07:09:13 +00:00
|
|
|
|
2003-10-06 15:43:21 +00:00
|
|
|
void warning_pimpl(std::string const & title, std::string const & warning);
|
|
|
|
void error_pimpl(std::string const & title, std::string const & warning);
|
|
|
|
void information_pimpl(std::string const & title, std::string const & warning);
|
2003-03-29 09:02:08 +00:00
|
|
|
|
2003-10-06 15:43:21 +00:00
|
|
|
std::pair<bool, std::string> const askForText_pimpl(std::string const & msg, std::string const & dflt);
|