lyx_mirror/src/frontends/xforms/FormAboutlyx.h
Angus Leeming 2a31934f38 Wrap most of the frontend code up inside namespace lyx::frontend.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8766 a592a061-630c-0410-9148-cb99ea01b6c8
2004-05-19 15:11:37 +00:00

55 lines
1.1 KiB
C++

// -*- C++ -*-
/**
* \file FormAboutlyx.h
* This file is part of LyX, the document processor.
* Licence details can be found in the file COPYING.
*
* \author Edwin Leuven
* \author Angus Leeming
*
* Full author contact details are available in file CREDITS.
*/
#ifndef FORMABOUTLYX_H
#define FORMABOUTLYX_H
#include "FormDialogView.h"
namespace lyx {
namespace frontend {
class ControlAboutlyx;
struct FD_aboutlyx;
struct FD_aboutlyx_version;
struct FD_aboutlyx_credits;
struct FD_aboutlyx_license;
/** This class provides an XForms implementation of the FormAboutlyx Dialog.
*/
class FormAboutlyx
: public FormController<ControlAboutlyx, FormView<FD_aboutlyx> > {
public:
///
FormAboutlyx(Dialog &);
private:
/// not needed.
virtual void apply() {}
/// not needed.
virtual void update() {}
/// Build the dialog
virtual void build();
/// Real GUI implementation.
boost::scoped_ptr<FD_aboutlyx_version> version_;
///
boost::scoped_ptr<FD_aboutlyx_credits> credits_;
///
boost::scoped_ptr<FD_aboutlyx_license> license_;
};
} // namespace frontend
} // namespace lyx
#endif // FORMABOUTLYX_H