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