]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/controllers/ControlTexinfo.h
to much stuff for my liking...
[lyx.git] / src / frontends / controllers / ControlTexinfo.h
index ef2cf9033686a808e5776fca6c372e691b61e05a..849e41fd6233ea0abd35c3ea35c3765a8ad833cb 100644 (file)
 #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:
        ///