mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 18:08:10 +00:00
change arg, inherit privatelu from noncopyable
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1927 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
0b98ee5f2e
commit
da17cc0c13
@ -1,3 +1,9 @@
|
||||
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/
|
||||
|
@ -50,7 +50,7 @@ class InsetMinipage;
|
||||
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:
|
||||
///
|
||||
|
@ -26,8 +26,8 @@
|
||||
#include "support/path.h"
|
||||
#include "exporter.h"
|
||||
#include "converter.h"
|
||||
#include "minibuffer.h"
|
||||
#include "support/syscall.h"
|
||||
#include "lyxfunc.h"
|
||||
|
||||
using std::endl;
|
||||
|
||||
@ -155,9 +155,11 @@ bool printBuffer(Buffer * buffer, PrinterParams const & pp)
|
||||
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
|
||||
|
@ -30,6 +30,8 @@
|
||||
#pragma interface
|
||||
#endif
|
||||
|
||||
#include "LString.h"
|
||||
|
||||
class PrinterParams;
|
||||
class Buffer;
|
||||
class LyXView;
|
||||
@ -52,7 +54,7 @@ namespace Liason {
|
||||
/// 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
|
||||
|
Loading…
Reference in New Issue
Block a user