#include "toc.h"
#include <vector>
+namespace lyx {
+namespace frontend {
+
/** A controller for TOC dialogs.
*/
class ControlToc : public ControlCommand {
ControlToc(Dialog &);
/// Goto this paragraph id
- void goTo(lyx::toc::TocItem const &);
+ void goTo(toc::TocItem const &);
/// Return the list of types available
std::vector<std::string> const getTypes() const;
+ /// Return the guiname from a given cmdName of the TOC param
+ std::string const getGuiName(std::string const & type) const;
+
/// Given a type, returns the contents
- lyx::toc::Toc const getContents(std::string const & type) const;
+ toc::Toc const getContents(std::string const & type) const;
};
+} // namespace frontend
+} // namespace lyx
+
#endif // CONTROLTOC_H