#pragma interface
#endif
-#include "ControlDialogs.h"
+#include "ControlDialog_impl.h"
+#include "LString.h"
/** A controller for Texinfo dialogs. */
-class ControlTexinfo : public ControlDialog<ControlConnectBI> {
+class ControlTexinfo : public ControlDialogBI {
public:
+ /// the file extensions
+ enum texFileSuffix {cls, sty, bst};
///
ControlTexinfo(LyXView &, Dialogs &);
///
- void viewFile(string const filename);
+ void viewFile(string const filename) const;
///
- void help();
+ void rescanStyles() const;
///
- void rescanStyles();
+ void runTexhash() const;
///
- void runTexhash();
+ string const getContents(texFileSuffix type, bool withPath) const;
+
private:
///