lyx_mirror/src/frontends/controllers/ControlTexinfo.h

50 lines
948 B
C
Raw Normal View History

// -*- 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