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"
24 /** A controller for Texinfo dialogs. */
26 class ControlTexinfo : public ControlDialogBI {
28 /// the file extensions
29 enum texFileSuffix {cls, sty, bst};
31 ControlTexinfo(LyXView &, Dialogs &);
33 void viewFile(string const filename) const;
37 void rescanStyles() const;
39 void runTexhash() const;
41 string const getContents(texFileSuffix type, bool withPath) const;
46 virtual void apply() {}
49 #endif // CONTROLTEXINFO_H