LeechCraft Monocle 0.6.70-16373-g319c272718
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 ~IHaveTOC ()
 Virtual destructor.
 
virtual TOCEntryLevel_t GetTOC ()=0
 Returns the root level of the TOC.
 

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 ( )
inlinevirtual

Virtual destructor.

Definition at line 58 of file ihavetoc.h.

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: