mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-24 18:43:37 +00:00
83acbbd523
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2072 a592a061-630c-0410-9148-cb99ea01b6c8
66 lines
1.8 KiB
C++
66 lines
1.8 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-2001 The LyX Team.
|
|
*
|
|
* This file Copyright 2000
|
|
* Allan Rae
|
|
* ======================================================
|
|
*/
|
|
|
|
#ifndef LIASON_H
|
|
#define LIASON_H
|
|
|
|
#ifdef __GNUG__
|
|
#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.
|
|
*/
|
|
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
|
|
|
|
|
|
|
|
|