+2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
+
+ * Liason.[Ch] (setMinibuffer): change second arg to string
+
+ * Dialogs.h: inherit privately from noncopyable
+
2001-04-03 John Levon <moz@compsoc.man.ac.uk>
* Dialogs.h: s/popup/dialog/
The list of dialog signals isn't comprehensive but should be a good guide
for any future additions. Remember don't go overboard -- think minimal.
*/
-class Dialogs : public boost::noncopyable
+class Dialogs : boost::noncopyable
{
public:
///
#include "support/path.h"
#include "exporter.h"
#include "converter.h"
-#include "minibuffer.h"
#include "support/syscall.h"
+#include "lyxfunc.h"
using std::endl;
return res == 0;
}
-void setMinibuffer(LyXView * lv, char const * msg)
+
+void setMinibuffer(LyXView * lv, string const & msg)
{
- lv->getMiniBuffer()->Set(msg);
+ Assert(lv);
+ lv->message(msg);
}
} // namespace Liason
#pragma interface
#endif
+#include "LString.h"
+
class PrinterParams;
class Buffer;
class LyXView;
/// print the current buffer
bool printBuffer(Buffer *, PrinterParams const &);
/// set the minibuffer
- void setMinibuffer(LyXView *, char const * msg);
+ void setMinibuffer(LyXView *, string const & msg);
//@}
} // namespace Liason