#include "commandtags.h"
#include "lyxfunc.h"
#include "LyXView.h"
+#include "BufferView.h"
-void InsetTOC::Edit(BufferView * bv, int, int)
+using std::ostream;
+
+
+string InsetTOC::getScreenLabel() const
+{
+ return _("Table of Contents");
+}
+
+
+void InsetTOC::Edit(BufferView * bv, int, int, unsigned int)
{
bv->owner()->getLyXFunc()->Dispatch(LFUN_TOCVIEW);
}
-int InsetTOC::Linuxdoc(string & file) const
+int InsetTOC::Linuxdoc(ostream & os) const
{
- file += "<toc>";
+ os << "<toc>";
return 0;
}
-int InsetTOC::DocBook(string & file) const
+int InsetTOC::DocBook(ostream & os) const
{
- file += "<toc></toc>";
+ os << "<toc></toc>";
return 0;
}