LeechCraft Monocle  0.6.70-6645-gcd10d7e
Modular document viewer for LeechCraft
LeechCraft::Monocle::IHaveTOC Class Referenceabstract

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

#include "ihavetoc.h"

Public Member Functions

virtual ~IHaveTOC ()
 Virtual destructor. More...
 
virtual TOCEntryLevel_t GetTOC ()=0
 Returns the root level of the TOC. More...
 

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 71 of file ihavetoc.h.

Constructor & Destructor Documentation

virtual LeechCraft::Monocle::IHaveTOC::~IHaveTOC ( )
inlinevirtual

Virtual destructor.

Definition at line 76 of file ihavetoc.h.

References Q_DECLARE_INTERFACE().

+ Here is the call graph for this function:

Member Function Documentation

virtual TOCEntryLevel_t LeechCraft::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: