lyx_mirror/src/lyx_cb.h
Angus Leeming 236ea81bc5 Replace LString.h with support/std_string.h,
Lsstream.h with support/std_sstream.h,
support/LIstream.h with support/std_istream.h,
support/LOstream.h with support/std_ostream.h.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7685 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-05 17:23:11 +00:00

42 lines
916 B
C++

// -*- C++ -*-
/**
* \file lyx_cb.h
* This file is part of LyX, the document processor.
* Licence details can be found in the file COPYING.
*
* \author Lars Gullik Bjønnes
*
* Full author contact details are available in file CREDITS.
*/
#ifndef LYX_CB_H
#define LYX_CB_H
#include "support/std_string.h"
class Buffer;
class BufferView;
///
extern bool quitting;
///
bool MenuWrite(Buffer * buffer);
/// write the given file, or ask if no name given
bool WriteAs(Buffer * buffer, string const & filename = string());
///
void QuitLyX();
///
void AutoSave(BufferView * bv);
///
void NewFile(BufferView * bv, string const & filename);
///
void InsertAsciiFile(BufferView * bv, string const & f, bool asParagraph);
///
string getContentsOfAsciiFile(BufferView * bv, string const & f, bool asParagraph);
///
string const getPossibleLabel(BufferView const & bv);
///
void Reconfigure(BufferView * bv);
#endif