// -*- 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
*/
class WorkArea {
public:
+ typedef boost::shared_ptr<LyXKeySym> LyXKeySymPtr;
WorkArea() {}
/// 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;