2000-06-12 11:55:12 +00:00
|
|
|
// -*- 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
|
|
|
|
|
2000-07-24 13:53:19 +00:00
|
|
|
#ifdef __GNUG__
|
|
|
|
#pragma interface
|
|
|
|
#endif
|
|
|
|
|
2001-04-17 14:02:45 +00:00
|
|
|
#include "LString.h"
|
|
|
|
|
2000-06-12 11:55:12 +00:00
|
|
|
class PrinterParams;
|
|
|
|
class Buffer;
|
2000-08-11 14:42:20 +00:00
|
|
|
class LyXView;
|
|
|
|
class BufferParams;
|
2000-06-12 11:55:12 +00:00
|
|
|
|
|
|
|
/** Temporary namespace to hold the various frontend functions
|
2000-08-07 20:58:24 +00:00
|
|
|
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.
|
|
|
|
*/
|
2001-03-15 18:21:56 +00:00
|
|
|
namespace Liason {
|
2000-08-14 05:24:35 +00:00
|
|
|
/**@name Global support functions */
|
|
|
|
//@{
|
|
|
|
/// get global printer parameters
|
|
|
|
PrinterParams getPrinterParams(Buffer *);
|
|
|
|
/// print the current buffer
|
|
|
|
bool printBuffer(Buffer *, PrinterParams const &);
|
|
|
|
/// set the minibuffer
|
2001-04-17 14:02:45 +00:00
|
|
|
void setMinibuffer(LyXView *, string const & msg);
|
2000-08-14 05:24:35 +00:00
|
|
|
//@}
|
2000-06-12 11:55:12 +00:00
|
|
|
|
2001-03-15 18:21:56 +00:00
|
|
|
} // namespace Liason
|
2000-06-12 11:55:12 +00:00
|
|
|
#endif
|
|
|
|
|
2001-03-15 18:21:56 +00:00
|
|
|
|
|
|
|
|
|
|
|
|