]> git.lyx.org Git - features.git/blobdiff - src/frontends/WorkArea.h
new LFUN_WINDOW_CLOSE
[features.git] / src / frontends / WorkArea.h
index a33ef86a58dc78991889d5a22db66acd2fef5625..0995364f2464bba8b9f5c7367f24eaebed187ef6 100644 (file)
@@ -54,10 +54,12 @@ enum CursorShape {
  */
 class WorkArea : public boost::signals::trackable {
 public:
-       WorkArea(LyXView & lyx_view);
+       WorkArea(int id, LyXView & lyx_view);
 
        virtual ~WorkArea() {}
 
+       int const id() const { return id_; }
+
        void setBufferView(BufferView * buffer_view);
 
        ///
@@ -119,6 +121,8 @@ protected:
        bool greyed_out_;
 
 private:
+       ///
+       int id_;
        ///
        void displayMessage(docstring const &);
        /// buffer messages signal connection