]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/xforms/XMiniBuffer.h
remove defaults stuff, let Qt handle no toolbar
[lyx.git] / src / frontends / xforms / XMiniBuffer.h
index 3785aebaa133cee3d835ad072e6ab7c207ee22c0..d81472ef7d74464bfebe269c5dce8ae3c1ae7306 100644 (file)
 
 #include "LString.h"
 #include <boost/scoped_ptr.hpp>
+#include <boost/shared_ptr.hpp>
 #include <boost/signals/connection.hpp>
 
-class DropDown;
+struct fl_freebrowser_;
+typedef fl_freebrowser_ FL_FREEBROWSER;
+
 class ControlCommandBuffer;
 class Timeout;
 
@@ -34,9 +37,6 @@ public:
        ///
        ~XMiniBuffer();
 
-       /// create drop down
-       void dd_init();
-
        /// repaint the minibuffer
        void redraw();
 
@@ -52,6 +52,9 @@ public:
        /// disable event management
        void freeze();
 
+       /// xforms callback routine
+       void freebrowserCB(int action);
+
 private:
        /// Are we in editing mode?
        bool isEditingMode() const;
@@ -62,15 +65,6 @@ private:
        /// go back to "at rest" message
        void idle_timeout();
 
-       /**
-        * Append "c" to the current input contents when the completion
-        * list is displayed and has focus.
-        */
-       void append_char(char c);
-
-       /// completion selection callback
-       void set_complete_input(string const & str);
-
        /// set the minibuffer content in editing mode
        void set_input(string const &);
 
@@ -81,7 +75,7 @@ private:
        void show_info(string const & info, string const & input, bool append = true);
 
        /// the dropdown menu
-       boost::scoped_ptr<DropDown> dropdown_;
+       boost::shared_ptr<FL_FREEBROWSER> freebrowser_;
 
        /// info timer
        boost::scoped_ptr<Timeout> info_timer_;