X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Ffrontends%2FLiason.h;h=4be47ca1225f1c9fa559b0e83d8819759be45caf;hb=dbd7a961fc46bb10c85bdd8c7fb6626477ae63d8;hp=6007c66368c51f461b5652eebb3f5dc003c3d856;hpb=b7a16fc4025bef833d10aa075bd4a23b3ed37f03;p=lyx.git diff --git a/src/frontends/Liason.h b/src/frontends/Liason.h index 6007c66368..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,6 +30,8 @@ #pragma interface #endif +#include "LString.h" + class PrinterParams; class Buffer; class LyXView; @@ -44,22 +46,20 @@ class BufferParams; 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 &); -/// set the minibuffer -void setMinibuffer(LyXView *, char const * msg); -//@} +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); + //@} -#ifdef CXX_WORKING_NAMESPACES -} +} // namespace Liason #endif -#endif + + +