4 * This file is part of LyX, the document processor.
5 * Licence details can be found in the file COPYING.
10 * Full author contact details are available in file CREDITS.
16 #include "GuiDialog.h"
17 #include "ui_TexinfoUi.h"
23 class GuiTexInfo : public GuiDialog, public Ui::TexinfoUi
29 GuiTexInfo(GuiView & lv);
30 /// the file extensions. order matters in GuiTexInfo::fileType()
31 enum TexFileType { ClsType = 0, StyType, BstType, BibType, DummyLastType };
39 void change_adaptor();
48 /// Nothing to initialise in this case.
49 bool initialiseParams(std::string const &) { return true; }
53 void dispatchParams() {}
55 bool isBufferDependent() const { return false; }
60 void updateStyles(TexFileType);
66 TexFileType activeStyle_;
68 /// show contents af a file
69 void viewFile(QString const & filename) const;
70 /// show all classoptions
71 //std::string classOptions(std::string const & filename) const;
73 QStringList texdata_[DummyLastType];
77 } // namespace frontend
80 #endif // GUITEXINFO_H