]> git.lyx.org Git - lyx.git/blob - src/frontends/Liason.h
(John): translate dialog titles.
[lyx.git] / src / frontends / Liason.h
1 // -*- C++ -*-
2 /* Liason.h
3  * Temporary namespace to hold the various frontend functions until XTL and
4  * the compilers of the world are ready for something more elaborate.
5  * This is basically the Communicator class from the lyx cvs module all
6  * over again.
7  *
8  * Eventually, we will switch back to the XTL+LyXFunc combination that
9  * worked so nicely on a very small number of compilers and systems (when
10  * most systems can support those required features).
11  *
12  * Author: Allan Rae <rae@lyx.org>
13  * This file is part of
14  * ======================================================
15  *
16  *           LyX, The Document Processor
17  *
18  *           Copyright 1995 Matthias Ettrich
19  *           Copyright 1995-2001 The LyX Team.
20  *
21  *           This file Copyright 2000
22  *           Allan Rae
23  * ======================================================
24  */
25
26 #ifndef LIASON_H
27 #define LIASON_H
28
29 #ifdef __GNUG__
30 #pragma interface
31 #endif
32
33 #include "LString.h"
34
35 class PrinterParams;
36 class Buffer;
37 class LyXView;
38 class BufferParams;
39
40 /** Temporary namespace to hold the various frontend functions
41     until XTL and the compilers of the world are ready for something more
42     elaborate. This is basically the Communicator class from the lyx cvs module
43     all over again.
44
45     Eventually, we will switch back to the XTL+LyXFunc combination that
46     worked so nicely on a very small number of compilers and systems.
47     See the "dialogbase" branch of lyx-devel cvs module for xtl implementation.
48 */
49 namespace Liason {
50         /**@name Global support functions */
51         //@{
52         /// get global printer parameters
53         PrinterParams getPrinterParams(Buffer *);
54         /// print the current buffer
55         bool printBuffer(Buffer *, PrinterParams const &);
56         /// set the minibuffer
57         void setMinibuffer(LyXView *, string const & msg);
58         //@}
59
60 } // namespace Liason
61 #endif