#pragma interface
#endif
-#include "FormCommand.h"
+#include "FormInset.h"
struct FD_form_ref;
/** This class provides an XForms implementation of the FormRef Dialog.
FormRef(LyXView *, Dialogs *);
///
~FormRef();
-private:
///
- enum Type{
- ///
- REF,
- ///
- PAGEREF,
- ///
- VREF,
- ///
- VPAGEREF,
- ///
- PRETTYREF
- };
+private:
///
- enum Goto{
+ enum Goto {
///
GOREF,
///
GOFIRST
};
+ /// Disconnect signals. Also perform any necessary housekeeping.
+ virtual void disconnect();
+
/// Build the dialog
virtual void build();
/// Filter the input
- virtual void input(long);
+ virtual bool input(FL_OBJECT *, long);
/// Update dialog before showing it
virtual void update();
/// Not used but must be instantiated
virtual void apply();
- /// delete derived class variables from hide()
- virtual void clearStore();
/// Pointer to the actual instantiation of the xform's form
- virtual FL_FORM * const form() const;
+ virtual FL_FORM * form() const;
///
- void updateBrowser( std::vector<string> ) const;
- ///
- void showBrowser() const;
- ///
- void hideBrowser() const;
- ///
- void setSize( int, int, int ) const;
+ void updateBrowser(std::vector<string> const &) const;
///
FD_form_ref * build_ref();
- ///
- Type getType() const;
- ///
- string getName( Type type ) const;
///
Goto toggle;