* \author Angus Leeming
*
* Full author contact details are available in file CREDITS.
+ *
+ * Nice functions and objects to handle TOCs
*/
#ifndef TOC_H
class Paragraph;
class FuncRequest;
-/** Nice functions and objects to handle TOCs
- */
namespace lyx {
namespace toc {
///
-struct TocItem {
+class TocItem {
+public:
TocItem(int par_id, int d, std::string const & s)
: id_(par_id), depth(d), str(s) {}
///