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
|
|
|
|
2006-09-11 08:54:10 +00:00
|
|
|
#include "support/docstring.h"
|
|
|
|
|
2003-09-05 22:17:02 +00:00
|
|
|
#include <utility>
|
2003-09-05 13:15:43 +00:00
|
|
|
|
2003-10-06 15:43:21 +00:00
|
|
|
|
2006-10-21 00:16:43 +00:00
|
|
|
namespace lyx {
|
|
|
|
|
|
|
|
int prompt_pimpl(docstring const & title, docstring const & question,
|
2004-10-05 10:11:42 +00:00
|
|
|
int default_button, int escape_button,
|
2006-10-21 00:16:43 +00:00
|
|
|
docstring const & b1,
|
|
|
|
docstring const & b2,
|
|
|
|
docstring const & b3);
|
|
|
|
|
|
|
|
void warning_pimpl(docstring const & title, docstring const & warning);
|
|
|
|
void error_pimpl(docstring const & title, docstring const & warning);
|
|
|
|
void information_pimpl(docstring const & title, docstring const & warning);
|
|
|
|
|
|
|
|
std::pair<bool, docstring> const askForText_pimpl(docstring const & msg, docstring const & dflt);
|
2003-03-29 07:09:13 +00:00
|
|
|
|
2006-10-21 00:16:43 +00:00
|
|
|
} // namespace lyx
|
2003-03-29 09:02:08 +00:00
|
|
|
|