LeechCraft Monocle 0.6.70-17609-g3dde4097dd
Modular document viewer for LeechCraft
Loading...
Searching...
No Matches
LC::Monocle::IHaveTOC Class Referenceabstract

Interface for documents supporting table of contents. More...

#include "ihavetoc.h"

Public Member Functions

virtual TOCEntryLevel_t GetTOC ()=0
 Returns the root level of the TOC.

Protected Member Functions

virtual ~IHaveTOC ()=default

Detailed Description

Interface for documents supporting table of contents.

This interface should be implemented by the documents of formats supporting having table of contents.

Definition at line 53 of file ihavetoc.h.

Constructor & Destructor Documentation

◆ ~IHaveTOC()

virtual LC::Monocle::IHaveTOC::~IHaveTOC ( )
protectedvirtualdefault

Member Function Documentation

◆ GetTOC()

virtual TOCEntryLevel_t LC::Monocle::IHaveTOC::GetTOC ( )
pure virtual

Returns the root level of the TOC.

If the root level is empty, there is no table of contents for this document.

Returns
Returns the root level of the TOC.

The documentation for this class was generated from the following file:
  • /home/abuild/rpmbuild/BUILD/leechcraft-doc-0.6.70+git.17609.g3dde4097dd-build/leechcraft-0.6.70-17609-g3dde4097dd/src/plugins/monocle/interfaces/monocle/ihavetoc.h