namespace toc {
///
-struct TocItem {
+class TocItem {
+public:
TocItem(int par_id, int d, std::string const & s)
: id_(par_id), depth(d), str(s) {}
///
by ControlToc::getContents() */
std::string const getType(std::string const & cmdName);
+/// Returns the guiname from a given CmdName
+std::string const getGuiName(std::string const & cmdName, Buffer const &);
+
inline
bool operator==(TocItem const & a, TocItem const & b)
{