]> git.lyx.org Git - features.git/blobdiff - src/LyXView.h
a couple of name changes and new functionality in lyxvc and vc-backend
[features.git] / src / LyXView.h
index 0f6d4597925f5df608b69d58847c72ed4f2c1924..95565adcff3c9c206c344dd80cdf727cd0342e32 100644 (file)
@@ -31,13 +31,13 @@ class Intl;
 ///
 struct  FD_form_main {
        ///
-       FL_FORM *form_main;
+       FL_FORM * form_main;
        ///
-       FL_OBJECT *timer_autosave;
+       FL_OBJECT * timer_autosave;
        ///
-       FL_OBJECT *timer_update;
+       FL_OBJECT * timer_update;
        ///
-       void *vdata;
+       void * vdata;
        ///
        long ldata;
 };
@@ -70,7 +70,7 @@ public:
        void redraw();
 
        /// returns the buffer currently shown in the main form.
-       Buffer * currentBuffer(){ return bufferview->currentBuffer();}
+       Buffer * buffer() const { return bufferview->buffer(); }
 
        ///
        BufferView * currentView() { return bufferview; }