2001-07-13 14:03:48 +00:00
|
|
|
// -*- C++ -*-
|
|
|
|
/**
|
|
|
|
* \file FormAboutlyx.h
|
|
|
|
* Copyright 2001 The LyX Team.
|
|
|
|
* See the file COPYING.
|
|
|
|
*
|
2002-03-11 17:00:41 +00:00
|
|
|
* \author Edwin Leuven, leuven@fee.uva.nl
|
|
|
|
* \author Angus Leeming, a.leeming@ic.ac.uk
|
2001-07-13 14:03:48 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef FORMABOUTLYX_H
|
|
|
|
#define FORMABOUTLYX_H
|
|
|
|
|
|
|
|
#ifdef __GNUG__
|
|
|
|
#pragma interface
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#include "FormBase.h"
|
|
|
|
|
2002-05-22 01:16:37 +00:00
|
|
|
#include <boost/scoped_ptr.hpp>
|
|
|
|
|
2001-07-13 14:03:48 +00:00
|
|
|
class ControlAboutlyx;
|
2002-06-13 13:43:51 +00:00
|
|
|
struct FD_aboutlyx;
|
|
|
|
struct FD_aboutlyx_version;
|
|
|
|
struct FD_aboutlyx_credits;
|
|
|
|
struct FD_aboutlyx_license;
|
2001-07-13 14:03:48 +00:00
|
|
|
|
|
|
|
/** This class provides an XForms implementation of the FormAboutlyx Dialog.
|
|
|
|
*/
|
2002-06-13 13:43:51 +00:00
|
|
|
class FormAboutlyx : public FormCB<ControlAboutlyx, FormDB<FD_aboutlyx> > {
|
2001-07-13 14:03:48 +00:00
|
|
|
public:
|
|
|
|
///
|
2002-07-02 19:23:10 +00:00
|
|
|
FormAboutlyx(ControlAboutlyx &, Dialogs &);
|
2001-07-13 14:03:48 +00:00
|
|
|
|
|
|
|
private:
|
|
|
|
/// not needed.
|
|
|
|
virtual void apply() {}
|
|
|
|
/// not needed.
|
|
|
|
virtual void update() {}
|
|
|
|
/// Build the dialog
|
|
|
|
virtual void build();
|
|
|
|
|
|
|
|
/// Real GUI implementation.
|
2002-06-13 13:43:51 +00:00
|
|
|
boost::scoped_ptr<FD_aboutlyx_version> version_;
|
2001-07-13 14:03:48 +00:00
|
|
|
///
|
2002-06-13 13:43:51 +00:00
|
|
|
boost::scoped_ptr<FD_aboutlyx_credits> credits_;
|
2001-07-13 14:03:48 +00:00
|
|
|
///
|
2002-06-13 13:43:51 +00:00
|
|
|
boost::scoped_ptr<FD_aboutlyx_license> license_;
|
2001-07-13 14:03:48 +00:00
|
|
|
};
|
|
|
|
|
2002-06-18 15:44:30 +00:00
|
|
|
|
2001-07-13 14:03:48 +00:00
|
|
|
#endif // FORMABOUTLYX_H
|