]> git.lyx.org Git - lyx.git/blob - src/frontends/Alert_pimpl.h
enable Font cache only for MacOSX and inline width() for other platform.
[lyx.git] / src / frontends / Alert_pimpl.h
1 // -*- C++ -*-
2 /**
3  * \file Alert_pimpl.h
4  * This file is part of LyX, the document processor.
5  * Licence details can be found in the file COPYING.
6  *
7  * \author John Levon
8  *
9  * Full author contact details are available in file CREDITS.
10  */
11
12 // GUI-specific implementations
13
14 #include "support/docstring.h"
15
16 #include <utility>
17 #include <string>
18
19
20 int prompt_pimpl(lyx::docstring const & title, lyx::docstring const & question,
21                  int default_button, int escape_button,
22                  lyx::docstring const & b1,
23                  lyx::docstring const & b2,
24                  lyx::docstring const & b3);
25
26 void warning_pimpl(lyx::docstring const & title, lyx::docstring const & warning);
27 void error_pimpl(lyx::docstring const & title, lyx::docstring const & warning);
28 void information_pimpl(lyx::docstring const & title, lyx::docstring const & warning);
29
30 std::pair<bool, lyx::docstring> const askForText_pimpl(lyx::docstring const & msg, lyx::docstring const & dflt);