]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/LyXView.h
remove unused stuff
[lyx.git] / src / frontends / LyXView.h
index 932e98602e2035cfa6ca2fb2ab38b6ae71bb2293..0d95729f45bb843a131d62ab557ee4c46f1e77c6 100644 (file)
@@ -35,7 +35,6 @@ class FuncRequest;
 
 namespace lyx {
 namespace frontend {
-class Gui;
 class WorkArea;
 class ControlCommandBuffer;
 } // namespace frontend
@@ -58,7 +57,7 @@ class ControlCommandBuffer;
 class LyXView : public boost::signals::trackable, boost::noncopyable {
 public:
 
-       LyXView(lyx::frontend::Gui & owner);
+       LyXView();
 
        virtual ~LyXView();
 
@@ -87,6 +86,15 @@ public:
        /// return the buffer currently shown in this window
        Buffer * buffer() const;
 
+       /* FIXME: Abdel 22/09/71
+       there is only one lyxFunc() for now but there is maybe a need
+       for more in the feature. Something like that:
+       
+               LyXFunc & getLyXFunc() { return theApp->lyxFunc(id_); }
+
+       where id_ would be the this LyXView ID.
+       That's the reason why I didn't remove these methods for now.
+       */
        /// return the LyX function handler for this view
        LyXFunc & getLyXFunc() { return theApp->lyxFunc(); }
        ///
@@ -153,9 +161,6 @@ public:
        /// returns true if this view has the focus.
        virtual bool hasFocus() const = 0;
 
-       ///
-       virtual lyx::frontend::Gui & gui();
-
        /// Temporary method used by the kernel to redraw the work area.
        virtual void redrawWorkArea();
 
@@ -182,7 +187,6 @@ protected:
        boost::scoped_ptr<Menubar> menubar_;
 
 private:
-       lyx::frontend::Gui & owner_;
        /**
         * setWindowTitle - set title of window
         * @param t main window title