lyx_mirror/src/frontends/controllers/ControlTexinfo.h
Angus Leeming ba61c3aa4c Clean-up of Herbert's Texinfo dialog.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2859 a592a061-630c-0410-9148-cb99ea01b6c8
2001-10-10 16:45:05 +00:00

50 lines
948 B
C++

// -*- C++ -*-
/* This file is part of
* ======================================================
*
* LyX, The Document Processor
*
* Copyright 2001 The LyX Team.
*
* ======================================================
*
* \file ControlTexinfo.h
* \author Herbert Voss <voss@perce.de>
*/
#ifndef CONTROLTEXINFO_H
#define CONTROLTEXINFO_H
#ifdef __GNUG__
#pragma interface
#endif
#include "ControlDialogs.h"
/** A controller for Texinfo dialogs. */
class ControlTexinfo : public ControlDialog<ControlConnectBI> {
public:
/// the file extensions
enum texFileSuffix {cls, sty, bst};
///
ControlTexinfo(LyXView &, Dialogs &);
///
void viewFile(string const filename) const;
///
void help() const;
///
void rescanStyles() const;
///
void runTexhash() const;
///
string const getContents(texFileSuffix type, bool withPath) const;
private:
///
virtual void apply() {}
};
#endif // CONTROLTEXINFO_H