]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/WorkArea.h
Joao latest bits
[lyx.git] / src / frontends / WorkArea.h
index a7b6ce8e8c8a7eedb2bf7f51deafd068ae80b34b..b54e3145a4cb0c82d6f8642dc9079818e7cc7839 100644 (file)
@@ -1,29 +1,29 @@
 // -*- C++ -*-
 /**
  * \file WorkArea.h
- * Read the file COPYING
+ * This file is part of LyX, the document processor.
+ * Licence details can be found in the file COPYING.
  *
  * \author unknown
- * \author John Levon 
+ * \author John Levon
  *
- * Full author contact details are available in file CREDITS
+ * Full author contact details are available in file CREDITS.
  */
 
 #ifndef WORKAREA_H
 #define WORKAREA_H
 
 #include "frontends/key_state.h"
-#include "frontends/LyXKeySym.h"
-#include "funcrequest.h"
 
+#include <boost/shared_ptr.hpp>
 #include <boost/signals/signal0.hpp>
 #include <boost/signals/signal1.hpp>
 #include <boost/signals/signal2.hpp>
-#include <boost/signals/signal3.hpp>
 
-#include <utility>
 
 class Painter;
+class FuncRequest;
+class LyXKeySym;
 
 /**
  * The work area class represents the widget that provides the
@@ -34,6 +34,7 @@ class Painter;
  */
 class WorkArea {
 public:
+       typedef boost::shared_ptr<LyXKeySym> LyXKeySymPtr;
 
        WorkArea() {}
 
@@ -59,9 +60,9 @@ public:
        /// a selection exists
        virtual void haveSelection(bool) const = 0;
        /// get the X clipboard contents
-       virtual string const getClipboard() const = 0;
+       virtual std::string const getClipboard() const = 0;
        /// fill the clipboard
-       virtual void putClipboard(string const &) const = 0;
+       virtual void putClipboard(std::string const &) const = 0;
 
        /// work area dimensions have changed
        boost::signal0<void> workAreaResize;