More compilation fixes.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4458 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Angus Leeming 2002-06-21 16:35:29 +00:00
parent 1e23537a43
commit ab15a1ef50
3 changed files with 18 additions and 10 deletions

View File

@ -1,3 +1,8 @@
2002-06-21 Angus Leeming <leeming@lyx.org>
* tex_helpers.C: Use <vector> not <vector.h>. Reorder header files.
* tex_helpers.h: #include "LString.h".
2002-06-21 John Levon <moz@compsoc.man.ac.uk>
* ControlBibtex.C:

View File

@ -7,21 +7,24 @@
*/
#include <config.h>
#include <vector.h>
#include <fstream>
#include <algorithm>
#include "gettext.h"
#include "tex_helpers.h"
#include "support/filetools.h"
#include "debug.h"
#include "gettext.h"
#include "support/filetools.h"
#include "support/lstrings.h"
#include "support/systemcall.h"
#include "support/path.h"
#include "support/lyxalgo.h"
#include <vector>
#include <fstream>
#include <algorithm>
using std::vector;
using std::endl;
using std::sort;
using std::unique;

View File

@ -9,6 +9,8 @@
#ifndef TEX_HELPERS_H
#define TEX_HELPERS_H
#include "LString.h"
// build filelists of all availabe bst/cls/sty-files. done through
// kpsewhich and an external script, saved in *Files.lst
void rescanTexStyles();
@ -20,11 +22,9 @@ void texhash();
string const getTexFileList(string const & filename, bool withFullPath);
/// get the options of stylefile
string const getListOfOptions(string const & classname,
string const & type);
string const getListOfOptions(string const & classname, string const & type);
/// get a class with full path from the list
string const getTexFileFromList(string const & classname,
string const & type);
string const getTexFileFromList(string const & classname, string const & type);
#endif // TEX_HELPERS_H