lyx_mirror/src/frontends/gnome/GChanges.h
Angus Leeming 0be0fcfd59 If I ever see another licence blurb again, it'll be too soon...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7598 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-23 00:17:00 +00:00

66 lines
1.2 KiB
C++

// -*- C++ -*-
/**
* \file GChanges.h
* This file is part of LyX, the document processor.
* Licence details can be found in the file COPYING.
*
* \author Michael Koziarski
*
* Full author contact details are available in file CREDITS.
*/
#ifndef GCHANGES_H
#define GCHANGES_H
#include "ControlChanges.h"
#include "GnomeBase.h"
namespace Gtk {
class Button;
class TextView;
}
/**
* This class implements the dialog to Track changes
*/
class GChanges : public GnomeCB<ControlChanges> {
public:
///
GChanges();
///
~GChanges();
void apply();
void update();
private:
/// Build the dialog
void build();
/// Returns true if the dialog input is in a valid state.
bool validate() const;
/// Do the connection of signals
void connect_signals();
/// Disconnect the signals.
void disconnect_signals();
void reject();
void accept();
/// generated by accessors.py
Gtk::Button * next_btn() const;
/// generated by accessors.py
Gtk::Button * cancel_btn() const;
/// generated by accessors.py
Gtk::TextView * changes() const;
/// generated by accessors.py
Gtk::Button * accept_btn() const;
/// generated by accessors.py
Gtk::Button * reject_btn() const;
};
#endif