2001-07-13 14:03:48 +00:00
|
|
|
// -*- C++ -*-
|
|
|
|
/**
|
|
|
|
* \file FormAboutlyx.h
|
2002-09-05 15:14:23 +00:00
|
|
|
* This file is part of LyX, the document processor.
|
|
|
|
* Licence details can be found in the file COPYING.
|
2001-07-13 14:03:48 +00:00
|
|
|
*
|
2002-09-05 14:10:50 +00:00
|
|
|
* \author Edwin Leuven
|
2002-12-01 22:59:25 +00:00
|
|
|
* \author Angus Leeming
|
2002-09-05 14:10:50 +00:00
|
|
|
*
|
2003-08-23 00:17:00 +00:00
|
|
|
* Full author contact details are available in file CREDITS.
|
2001-07-13 14:03:48 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef FORMABOUTLYX_H
|
|
|
|
#define FORMABOUTLYX_H
|
|
|
|
|
|
|
|
|
2003-03-09 20:29:58 +00:00
|
|
|
#include "FormDialogView.h"
|
2001-07-13 14:03:48 +00:00
|
|
|
|
2002-05-22 01:16:37 +00:00
|
|
|
|
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.
|
|
|
|
*/
|
2003-03-09 20:29:58 +00:00
|
|
|
class FormAboutlyx
|
|
|
|
: public FormController<ControlAboutlyx, FormView<FD_aboutlyx> > {
|
2001-07-13 14:03:48 +00:00
|
|
|
public:
|
|
|
|
///
|
2003-03-09 20:29:58 +00:00
|
|
|
FormAboutlyx(Dialog &);
|
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
|