]> git.lyx.org Git - features.git/blob - src/frontends/Liason.h
make doc++ able to generate the source documentation for lyx
[features.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 #ifdef __GNUG__
30 #pragma interface
31 #endif
32
33 class PrinterParams;
34 class Buffer;
35
36 /** Temporary namespace to hold the various frontend functions
37     until XTL and the compilers of the world are ready for something more
38     elaborate. This is basically the Communicator class from the lyx cvs module
39     all over again.
40     
41     Eventually, we will switch back to the XTL+LyXFunc combination that
42     worked so nicely on a very small number of compilers and systems.
43     See the "dialogbase" branch of lyx-devel cvs module for xtl implementation.
44 */
45 #ifdef CXX_WORKING_NAMESPACES
46 namespace Liason
47 {
48 #endif
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 //@}
56
57 #ifdef CXX_WORKING_NAMESPACES
58 }
59 #endif
60
61 #endif