X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Ftoc.h;h=1a5cf4e4c428d3a91d526697a23c41f9c968f6dc;hb=c4320d24cd2d29c2e77958b4a8fd44f2bd587ca7;hp=750b841467535a9d3ad0ece00f3da88ee773df4e;hpb=34b7650cbbe6a9ed2de812e75771451b8c8fe983;p=lyx.git diff --git a/src/toc.h b/src/toc.h index 750b841467..1a5cf4e4c4 100644 --- a/src/toc.h +++ b/src/toc.h @@ -15,45 +15,11 @@ #ifndef TOC_H #define TOC_H -#include "TocBackend.h" - class LCursor; 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 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 &, lyx::odocstream &); - -/** 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