]> git.lyx.org Git - lyx.git/blob - src/frontends/Liason.h
8999f064a8a8e900b6c51c32acbe9758a09ecfea
[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-2000 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 class PrinterParams;
30 class Buffer;
31
32 /** Temporary namespace to hold the various frontend functions
33  * until XTL and the compilers of the world are ready for something more
34  * elaborate. This is basically the Communicator class from the lyx cvs module
35  * all over again.
36  *
37  * Eventually, we will switch back to the XTL+LyXFunc combination that
38  * worked so nicely on a very small number of compilers and systems.
39  * See the "dialogbase" branch of lyx-devel cvs module for xtl implementation.
40  */
41 #ifdef CXX_WORKING_NAMESPACES
42 namespace Liason
43 {
44 #endif
45 /**@name Global support functions */
46 //@{
47 /// get global printer parameters
48 PrinterParams getPrinterParams(Buffer *);
49 /// print the current buffer
50 bool printBuffer(Buffer *, PrinterParams const &);
51 //@}
52
53 #ifdef CXX_WORKING_NAMESPACES
54 }
55 #endif
56
57 #endif