X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Ffrontends%2FLyXView.h;h=3f2acfe95291dbca68a52f3b98545aa28d117c78;hb=558e849e692cc72ea74ac3859405b85e54c6e315;hp=14a0633c937d7a4eb15d3c2382f08ba576ced6a6;hpb=5009d66e162b0a45d33884113a4d6d1a36b1bd2b;p=lyx.git diff --git a/src/frontends/LyXView.h b/src/frontends/LyXView.h index 14a0633c93..3f2acfe952 100644 --- a/src/frontends/LyXView.h +++ b/src/frontends/LyXView.h @@ -24,7 +24,6 @@ class Toolbars; class InsetBase; class Intl; class Menubar; -class ControlCommandBuffer; class BufferView; class Dialogs; @@ -33,6 +32,12 @@ class LyXFont; class Timeout; class FuncRequest; +namespace lyx { +namespace frontend { +class ControlCommandBuffer; +} // namespace frontend +} // namespace lyx + /** * LyXView - main LyX window * @@ -170,7 +175,10 @@ protected: /// view's command buffer controller // this has to be declared _after_ lyxfunc_ as its initialization depends // on it! - boost::scoped_ptr const controlcommand_; + typedef boost::scoped_ptr + CommandBufferPtr; + + CommandBufferPtr const controlcommand_; }; #endif // LYXVIEW_H