X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Ffrontends%2FAlert_pimpl.h;h=09cbefa95c9c07d76f2343ed6c1e6ed2ee4ea50c;hb=39ec3d0eb81f6e3ade7bc183f7590f3a0bcd6cf7;hp=7c500f2e1281f305829d96d9de4618a88790c4e9;hpb=d6546c2bf40ff7e72c6ba13ebd08de67bba43952;p=lyx.git diff --git a/src/frontends/Alert_pimpl.h b/src/frontends/Alert_pimpl.h index 7c500f2e12..09cbefa95c 100644 --- a/src/frontends/Alert_pimpl.h +++ b/src/frontends/Alert_pimpl.h @@ -1,3 +1,4 @@ +// -*- C++ -*- /** * \file Alert_pimpl.h * This file is part of LyX, the document processor. @@ -5,19 +6,21 @@ * * \author John Levon * - * Full author contact details are available in file CREDITS + * Full author contact details are available in file CREDITS. */ -#include "debug.h" - // GUI-specific implementations -int prompt_pimpl(string const & title, string const & question, +#include +#include + + +int prompt_pimpl(std::string const & title, std::string const & question, int default_button, int escape_button, - string const & b1, string const & b2, string const & b3); + std::string const & b1, std::string const & b2, std::string const & b3); -void warning_pimpl(string const & title, string const & warning); -void error_pimpl(string const & title, string const & warning); -void information_pimpl(string const & title, string const & warning); +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); -std::pair const askForText_pimpl(string const & msg, string const & dflt); +std::pair const askForText_pimpl(std::string const & msg, std::string const & dflt);