lyx_mirror/src/frontends/Liason.h
Jean-Marc Lasgouttes 4b2a999762 GUI-indep toolbar and menus mostly work !
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@913 a592a061-630c-0410-9148-cb99ea01b6c8
2000-07-24 13:53:19 +00:00

62 lines
1.7 KiB
C++

// -*- C++ -*-
/* Liason.h
* 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 (when
* most systems can support those required features).
*
* Author: Allan Rae <rae@lyx.org>
* This file is part of
* ======================================================
*
* LyX, The Document Processor
*
* Copyright 1995 Matthias Ettrich
* Copyright 1995-2000 The LyX Team.
*
* This file Copyright 2000
* Allan Rae
* ======================================================
*/
#ifndef LIASON_H
#define LIASON_H
#ifdef __GNUG__
#pragma interface
#endif
class PrinterParams;
class Buffer;
/** 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
#endif