]> git.lyx.org Git - lyx.git/blobdiff - src/toc.h
Fixed some lines that were too long. It compiled afterwards.
[lyx.git] / src / toc.h
index e3d1cf982ad7650dfe41ae73fa0fe53d68f2e285..19e3469ce44d725d18e9bf1c70927fe59074cd2a 100644 (file)
--- a/src/toc.h
+++ b/src/toc.h
 #ifndef TOC_H
 #define TOC_H
 
-#include "TocBackend.h"
-
-class LCursor;
+class Cursor;
 
 namespace lyx {
 namespace toc {
 
-typedef TocBackend::Item TocItem;
-typedef TocBackend::Toc::const_iterator TocIterator;
-typedef TocBackend::Toc Toc;
-typedef TocBackend::TocList TocList;
-
-///
-void updateToc(Buffer const &);
-
-///
-TocList const & getTocList(Buffer const &);
-
-///
-Toc const & getToc(Buffer const & buf, std::string const & type);
-
-///
-std::vector<std::string> const & getTypes(Buffer const &);
-
-/// Return the first TocItem before the cursor
-TocIterator const getCurrentTocItem(Buffer const &, LCursor const &,
-                                                                         std::string const & type);
-
-///
-void asciiTocList(std::string const &, Buffer const &, std::ostream &);
-
-/** Given the cmdName of the TOC param, returns the type used
-    by ControlToc::getContents() */
-std::string const getType(std::string const & cmdName);
-
-/** Returns the guiname from a given @c type
-    The localization of the names will be done in the frontends */
-std::string const getGuiName(std::string const & type, Buffer const &);
-
 /// the type of outline operation
 enum OutlineOp {
-       UP, // Move this header with text down
-       DOWN,   // Move this header with text up
-       IN, // Make this header deeper
-       OUT // Make this header shallower
+       Up, // Move this header with text down
+       Down,   // Move this header with text up
+       In, // Make this header deeper
+       Out // Make this header shallower
 };
 
 
-void outline(OutlineOp, LCursor &);
+void outline(OutlineOp, Cursor &);
 
 
 } // namespace toc