2001-02-06 17:41:42 +00:00
|
|
|
// -*- C++ -*-
|
|
|
|
/*
|
2001-03-20 10:14:03 +00:00
|
|
|
* \file FormBrowser.h
|
2001-02-06 17:41:42 +00:00
|
|
|
*
|
|
|
|
* (C) 2001 LyX Team
|
|
|
|
* John Levon, moz@compsoc.man.ac.uk
|
2001-03-20 10:14:03 +00:00
|
|
|
* \author Angus Leeming, a.leeming@.ac.uk
|
2001-02-06 17:41:42 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef FORMBROWSER_H
|
|
|
|
#define FORMBROWSER_H
|
|
|
|
|
|
|
|
#ifdef __GNUG__
|
|
|
|
#pragma interface
|
|
|
|
#endif
|
|
|
|
|
2001-03-20 10:14:03 +00:00
|
|
|
#include "FormBase.h"
|
2001-02-06 17:41:42 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* This class provides an XForms implementation of a read only
|
|
|
|
* text browser.
|
|
|
|
*/
|
2001-03-20 10:14:03 +00:00
|
|
|
struct FD_form_browser;
|
|
|
|
|
|
|
|
class FormBrowser : public FormDB<FD_form_browser> {
|
2001-02-06 17:41:42 +00:00
|
|
|
public:
|
2001-03-15 13:37:04 +00:00
|
|
|
///
|
2001-04-03 14:30:58 +00:00
|
|
|
FormBrowser(ControlButtons &, string const &);
|
2001-02-06 17:41:42 +00:00
|
|
|
|
|
|
|
private:
|
2001-03-20 10:14:03 +00:00
|
|
|
/// Build the dialog.
|
2001-02-06 17:41:42 +00:00
|
|
|
virtual void build();
|
|
|
|
/// generated build function
|
|
|
|
FD_form_browser * build_browser();
|
|
|
|
};
|
|
|
|
|
2001-03-20 10:14:03 +00:00
|
|
|
#endif // FORMBROWSER_H
|