compile fixes (move a c'tor out of line, add a virtual destuctor and

change an include path - don't know why the latter is necessary, but it
works now for me)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5008 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
André Pönitz 2002-08-16 07:00:35 +00:00
parent 3c5fe62f97
commit de9b11b170
3 changed files with 9 additions and 2 deletions

View File

@ -73,6 +73,8 @@ public:
ButtonController(string const & = _("Cancel"),
string const & = _("Close"));
///
~ButtonController() {}
///
virtual ButtonPolicy & bp() { return bp_; }
protected:

View File

@ -168,6 +168,11 @@
#include "FormVCLog.h"
Dialogs::Impl::Impl(LyXView & lv, Dialogs & d)
: lv_(lv), d_(d)
{}
Dialogs::Dialogs(LyXView & lv)
: pimpl_(new Impl(lv, *this))
{

View File

@ -14,7 +14,7 @@
#endif
#include "Dialogs.h"
#include "GUI.h"
#include "controllers/GUI.h"
#include <boost/scoped_ptr.hpp>
@ -202,7 +202,7 @@ typedef GUI<ControlVCLog, FormVCLog, OkCancelPolicy, xformsBC>
VCLogFileDialog;
struct Dialogs::Impl {
Impl(LyXView & lv, Dialogs & d) : lv_(lv), d_(d) {}
Impl(LyXView & lv, Dialogs & d);
template <typename T>
T & dialog(boost::scoped_ptr<T> & var)