lyx_mirror/src/frontends/xforms/FormText.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

43 lines
851 B
C++

// -*- C++ -*-
/**
* \file FormText.h
* This file is part of LyX, the document processor.
* Licence details can be found in the file COPYING.
*
* \author Angus Leeming
*
* Full author contact details are available in file CREDITS.
*/
#ifndef FORMTEXT_H
#define FORMTEXT_H
#include "FormDialogView.h"
namespace lyx {
namespace frontend {
class ControlCommand;
struct FD_text;
class FormText : public FormController<ControlCommand, FormView<FD_text> > {
public:
///
FormText(Dialog &, std::string const & title, std::string const & label);
private:
/// Set the Params variable for the Controller.
virtual void apply();
/// Build the dialog.
virtual void build();
/// Update dialog before/whilst showing it.
virtual void update();
///
std::string const label_;
};
} // namespace frontend
} // namespace lyx
#endif // FORMTEXT_H