]> git.lyx.org Git - lyx.git/blobdiff - src/LyXView.h
small changes to ButtonController usage
[lyx.git] / src / LyXView.h
index b4a23c4b32936d693796febb09079449080987d8..85f56b7fd73f02171ca5371cb8d099fe2415d811 100644 (file)
@@ -19,6 +19,7 @@
 #include FORMS_H_LOCATION
 
 #include "Timeout.h"
+#include "support/utility.hpp"
 
 // uncomment this line to try out the new menus
 #define NEW_MENUBAR 1
@@ -47,7 +48,7 @@ using SigC::Object;
   view is supposed (at least IMHO) to be another class, that shows its output
   in one or more LyXView's.
  */
-class LyXView : public Object {
+class LyXView : public Object, public noncopyable {
 public:
        /// constructor
        LyXView(int w, int h);
@@ -82,6 +83,9 @@ public:
        /// sets the layout in the toolbar layout combox
        void setLayout(int layout);
 
+       /// update the toolbar
+       void updateToolbar();
+
        /// return a pointer to the lyxfunc
        LyXFunc * getLyXFunc() const;
 
@@ -144,8 +148,10 @@ private:
        ///
        void UpdateDocumentClassChoice();
 public:
+#if FL_REVISION < 89
        ///
        static int KeyPressMask_raw_callback(FL_FORM *, void * xev);
+#endif
        /** This callback is run when a close event is sent from the
          window manager. */
        static int atCloseMainFormCB(FL_FORM *, void *);