2 /* This file is part of
3 * ======================================================
5 * LyX, The Document Processor
7 * Copyright 2001 The LyX Team.
9 * ======================================================
11 * \file ControlTexinfo.h
12 * \author Herbert Voss <voss@perce.de>
15 #ifndef CONTROLTEXINFO_H
16 #define CONTROLTEXINFO_H
22 #include "ControlDialog_impl.h"
25 /** A controller for Texinfo dialogs. */
27 class ControlTexinfo : public ControlDialogBI {
29 /// the file extensions
30 enum texFileSuffix {cls, sty, bst};
32 ControlTexinfo(LyXView &, Dialogs &);
34 void viewFile(string const filename) const;
36 void rescanStyles() const;
38 void runTexhash() const;
40 string const getContents(texFileSuffix type, bool withPath) const;
45 virtual void apply() {}
48 #endif // CONTROLTEXINFO_H