]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/LyXView.h
make LyX work better when run from a directory which name contains spaces or other...
[lyx.git] / src / frontends / LyXView.h
index 14a0633c937d7a4eb15d3c2382f08ba576ced6a6..3f2acfe95291dbca68a52f3b98545aa28d117c78 100644 (file)
@@ -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<ControlCommandBuffer> const controlcommand_;
+       typedef boost::scoped_ptr<lyx::frontend::ControlCommandBuffer>
+       CommandBufferPtr;
+
+       CommandBufferPtr const controlcommand_;
 };
 
 #endif // LYXVIEW_H