]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/xforms/FormRef.h
try this for distinguishing inner and outer tabs
[lyx.git] / src / frontends / xforms / FormRef.h
index 65861a14ee7b9c4327ec8216d4427a206a81bd4f..a77b4f4ebda75ab5bc84da4ecd94ca9f5572edfc 100644 (file)
@@ -27,22 +27,10 @@ public:
        FormRef(LyXView *, Dialogs *);
        ///
        ~FormRef();
-private:
        ///
-       enum Type{
-               ///
-               REF,
-               ///
-               PAGEREF,
-               ///
-               VREF,
-               ///
-               VPAGEREF,
-               ///
-               PRETTYREF
-       };
+private:
        ///
-       enum Goto{
+       enum Goto {
                ///
                GOREF,
                ///
@@ -57,28 +45,18 @@ private:
        /// Build the dialog
        virtual void build();
        /// Filter the input
-       virtual bool input( FL_OBJECT *, long );
+       virtual bool input(FL_OBJECT *, long);
        /// Update dialog before showing it
-       virtual void update(bool switched = false);
+       virtual void update();
        /// Not used but must be instantiated
        virtual void apply();
        /// Pointer to the actual instantiation of the xform's form
        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;