]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/controllers/tex_helpers.h
Add a buffer_path arg to InsetGraphicsMailer's params2string, string2params.
[lyx.git] / src / frontends / controllers / tex_helpers.h
index 0294b46601a04827c9b0ce08376c346589b3d0e5..7ba376e8ebc0ecda57fc1695a883274f442e136b 100644 (file)
@@ -1,14 +1,22 @@
 /**
  * \file tex_helpers.h
- * Copyright 1995-2002 the LyX Team
- * Read the file COPYING
+ * This file is part of LyX, the document processor.
+ * Licence details can be found in the file COPYING.
  *
- * \author Herbert Voss <voss@lyx.org>
+ * \author Herbert Voss
+ *
+ * Full author contact details are available in file CREDITS
  */
 
 #ifndef TEX_HELPERS_H
 #define TEX_HELPERS_H
 
+
+#include "LString.h"
+#include <utility>
+#include <vector>
+
+
 // build filelists of all availabe bst/cls/sty-files. done through
 // kpsewhich and an external script, saved in *Files.lst
 void rescanTexStyles();
@@ -16,15 +24,15 @@ void rescanTexStyles();
 /// rebuild the textree
 void texhash();
 
-/// return one of the three texfiles
-string const getTexFileList(string const & filename, bool withFullPath);
+/** Fill \c contents from one of the three texfiles.
+ *  Each entry in the file list is returned as a name_with_path
+ */
+void getTexFileList(string const & filename, std::vector<string> & contents);
 
 /// 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