mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-11 13:46:43 +00:00
57 lines
869 B
C
57 lines
869 B
C
|
|
||
|
// -*- C++ -*-
|
||
|
/**
|
||
|
* \file GLog.h
|
||
|
* Copyright 2001 The LyX Team.
|
||
|
* See the file COPYING.
|
||
|
*
|
||
|
* \author Michael Koziarski <michael@koziarski.org>
|
||
|
*/
|
||
|
|
||
|
#ifndef GLOG_H
|
||
|
#define GLOG_H
|
||
|
|
||
|
#ifdef __GNUG__
|
||
|
#pragma interface
|
||
|
#endif
|
||
|
|
||
|
#include "ControlLog.h"
|
||
|
#include "GnomeBase.h"
|
||
|
|
||
|
namespace Gtk {
|
||
|
class Button;
|
||
|
class TextView;
|
||
|
}
|
||
|
|
||
|
/**
|
||
|
* This class implements the dialog to modify the LaTeX preamble
|
||
|
*/
|
||
|
class GLog : public FormCB<ControlLog> {
|
||
|
public:
|
||
|
///
|
||
|
GLog(ControlLog & c);
|
||
|
///
|
||
|
~GLog();
|
||
|
|
||
|
void apply();
|
||
|
void update();
|
||
|
|
||
|
private:
|
||
|
/// Build the dialog
|
||
|
void build();
|
||
|
|
||
|
/// Returns true if the dialog input is in a valid state.
|
||
|
bool validate() const;
|
||
|
|
||
|
/// generated by accessors.py
|
||
|
Gtk::Button * refresh_btn() const;
|
||
|
/// generated by accessors.py
|
||
|
Gtk::Button * close_btn() const;
|
||
|
/// generated by accessors.py
|
||
|
Gtk::TextView * log_text() const;
|
||
|
|
||
|
|
||
|
};
|
||
|
|
||
|
#endif
|