X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Ffrontends%2Fxforms%2FFormRef.h;h=ca2023011444e8a60229b5d956943f54f564a5b7;hb=eba67bc3120dc301bf193c3f3b570f51f00a4654;hp=b175dd8f5800c397e612d5f7eb8e413d83f7adb8;hpb=20b05ef8c1e3d73175427405cbc2bb5d3c6d7e90;p=lyx.git diff --git a/src/frontends/xforms/FormRef.h b/src/frontends/xforms/FormRef.h index b175dd8f58..ca20230114 100644 --- a/src/frontends/xforms/FormRef.h +++ b/src/frontends/xforms/FormRef.h @@ -16,7 +16,7 @@ #pragma interface #endif -#include "FormCommand.h" +#include "FormInset.h" struct FD_form_ref; /** This class provides an XForms implementation of the FormRef Dialog. @@ -29,7 +29,7 @@ public: ~FormRef(); private: /// - enum Type{ + enum Type { /// REF, /// @@ -42,7 +42,7 @@ private: PRETTYREF }; /// - enum Goto{ + enum Goto { /// GOREF, /// @@ -51,33 +51,28 @@ private: GOFIRST }; + /// Disconnect signals. Also perform any necessary housekeeping. + virtual void disconnect(); + /// Build the dialog virtual void build(); /// Filter the input - virtual bool 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 ) const; - /// - void showBrowser() const; - /// - void hideBrowser() const; - /// - void setSize( int, int, int ) const; + void updateBrowser(std::vector const &) const; /// FD_form_ref * build_ref(); /// Type getType() const; /// - string getName( Type type ) const; + string const getName(Type type) const; /// Goto toggle;