]> git.lyx.org Git - lyx.git/blob - src/buffer_funcs.h
dc6a440b76fbaa825f686f30cdb6e062a60de3c3
[lyx.git] / src / buffer_funcs.h
1 // -*- C++ -*-
2 /* \file buffer_funcs.h
3  * This file is part of LyX, the document processor.
4  * Licence details can be found in the file COPYING.
5  *
6  * \author Lars Gullik Bjønnes
7  * \author Alfredo Braunstein
8  *
9  * Full author contact details are available in file CREDITS
10  */
11
12 #include "LString.h"
13
14 class Buffer;
15
16 /**
17  *  Loads a LyX file \c filename into \c Buffer 
18  *  and \return success status.
19  */
20 bool loadLyXFile(Buffer *, string const & filename);
21
22 /* Make a new file (buffer) with name \c filename based on a template
23  * named \c templatename
24  */
25 Buffer * newFile(string const & filename, string const & templatename, 
26                  bool isNamed = false);