]> git.lyx.org Git - features.git/blobdiff - src/frontends/controllers/ControlTexinfo.h
Clean-up of Herbert's Texinfo dialog.
[features.git] / src / frontends / controllers / ControlTexinfo.h
index ef2cf9033686a808e5776fca6c372e691b61e05a..24bd539fdfce29ec5f4d9598fa66ce5734904266 100644 (file)
 
 class ControlTexinfo : public ControlDialog<ControlConnectBI> {
 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 help() const;
        ///
-       void rescanStyles();
+       void rescanStyles() const;
        ///
-       void runTexhash();
+       void runTexhash() const;
+       ///
+       string const getContents(texFileSuffix type, bool withPath) const;
+
 
 private:
        ///