]> git.lyx.org Git - lyx.git/blob - src/frontends/Liason.h
Spaces menu for math dialog
[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  * FuncRequestually, 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  *
20  *           This file Copyright 2000
21  *           Allan Rae
22  * ======================================================
23  */
24
25 #ifndef LIASON_H
26 #define LIASON_H
27
28 #ifdef __GNUG__
29 #pragma interface
30 #endif
31
32 #include "LString.h"
33
34 class PrinterParams;
35 class Buffer;
36 class LyXView;
37 class BufferParams;
38
39 /** Temporary namespace to hold the various frontend functions
40     until XTL and the compilers of the world are ready for something more
41     elaborate. This is basically the Communicator class from the lyx cvs module
42     all over again.
43
44     FuncRequestually, we will switch back to the XTL+LyXFunc combination that
45     worked so nicely on a very small number of compilers and systems.
46     See the "dialogbase" branch of lyx-devel cvs module for xtl implementation.
47 */
48 namespace Liason {
49         /**@name Global support functions */
50         //@{
51         /// get global printer parameters
52         PrinterParams getPrinterParams(Buffer *);
53         /// print the current buffer
54         bool printBuffer(Buffer *, PrinterParams const &);
55         /// set the minibuffer
56         void setMinibuffer(LyXView *, string const & msg);
57         //@}
58
59 } // namespace Liason
60 #endif