5 #include <sigc++/signal_system.h>
8 #include FORMS_H_LOCATION
10 #include "frontends/Timeout.h"
19 class MiniBuffer : public SigC::Object {
27 MiniBuffer(LyXView * o,
28 FL_Coord x, FL_Coord y, FL_Coord h, FL_Coord w);
31 void addSet(string const &,
32 string const & = string());
35 void message(string const & str);
37 void messagePush(string const & str);
41 /** Makes the minibuffer wait for a string to be inserted.
42 Waits for a string to be inserted into the minibuffer, when
43 the string has been insterted the signal stringReady is
46 void getString(State space,
47 std::vector<string> const & completion,
48 std::vector<string> & history);
52 int peek_event(FL_OBJECT *, int, int);
54 SigC::Signal1<void, string const &> stringReady;
56 //SigC::Signal0<void> escape;
58 SigC::Signal0<void> timeout;
69 void stored_set(string const &);
83 FL_OBJECT * add(int, FL_Coord, FL_Coord, FL_Coord, FL_Coord);
89 FL_OBJECT * the_buffer;
91 std::vector<string> completion_;
93 std::vector<string> * history_;
95 std::vector<string>::iterator hist_iter;