X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Ffrontends%2FLiason.h;h=4be47ca1225f1c9fa559b0e83d8819759be45caf;hb=dbd7a961fc46bb10c85bdd8c7fb6626477ae63d8;hp=2fab06fc6820d8d8b7f9c305df2490faf8927a36;hpb=4b2a999762c83627476428e595d3c1e3704a3da0;p=lyx.git diff --git a/src/frontends/Liason.h b/src/frontends/Liason.h index 2fab06fc68..4be47ca122 100644 --- a/src/frontends/Liason.h +++ b/src/frontends/Liason.h @@ -16,7 +16,7 @@ * LyX, The Document Processor * * Copyright 1995 Matthias Ettrich - * Copyright 1995-2000 The LyX Team. + * Copyright 1995-2001 The LyX Team. * * This file Copyright 2000 * Allan Rae @@ -30,32 +30,36 @@ #pragma interface #endif +#include "LString.h" + class PrinterParams; class Buffer; +class LyXView; +class BufferParams; /** Temporary namespace to hold the various frontend functions - * until XTL and the compilers of the world are ready for something more - * elaborate. This is basically the Communicator class from the lyx cvs module - * all over again. - * - * Eventually, we will switch back to the XTL+LyXFunc combination that - * worked so nicely on a very small number of compilers and systems. - * See the "dialogbase" branch of lyx-devel cvs module for xtl implementation. - */ -#ifdef CXX_WORKING_NAMESPACES -namespace Liason -{ -#endif -/**@name Global support functions */ -//@{ -/// get global printer parameters -PrinterParams getPrinterParams(Buffer *); -/// print the current buffer -bool printBuffer(Buffer *, PrinterParams const &); -//@} - -#ifdef CXX_WORKING_NAMESPACES -} -#endif + until XTL and the compilers of the world are ready for something more + elaborate. This is basically the Communicator class from the lyx cvs module + all over again. + + Eventually, we will switch back to the XTL+LyXFunc combination that + worked so nicely on a very small number of compilers and systems. + See the "dialogbase" branch of lyx-devel cvs module for xtl implementation. +*/ +namespace Liason { + /**@name Global support functions */ + //@{ + /// get global printer parameters + PrinterParams getPrinterParams(Buffer *); + /// print the current buffer + bool printBuffer(Buffer *, PrinterParams const &); + /// set the minibuffer + void setMinibuffer(LyXView *, string const & msg); + //@} +} // namespace Liason #endif + + + +