diff --git a/src/ui/clipboard.h b/src/ui/clipboard.h
index 54c05ac0def1f16419b74c559e7c3d25d81ad495..6020ecdd858a5f7cd29eaaf133bbba835ef37144 100644 (file)
--- a/src/ui/clipboard.h
+++ b/src/ui/clipboard.h
*/
/* Authors:
* Krzysztof KosiĆski <tweenk@o2.pl>
+ * Jon A. Cruz <jon@joncruz.org>
*
* Copyright (C) 2008 authors
+ * Copyright (C) 2010 Jon A. Cruz
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
class ClipboardManager {
public:
- virtual void copy() = 0;
+ virtual void copy(SPDesktop *desktop) = 0;
virtual void copyPathParameter(Inkscape::LivePathEffect::PathParam *) = 0;
- virtual bool paste(bool in_place = false) = 0;
- virtual bool pasteStyle() = 0;
- virtual bool pasteSize(bool separately, bool apply_x, bool apply_y) = 0;
- virtual bool pastePathEffect() = 0;
- virtual Glib::ustring getPathParameter() = 0;
- virtual Glib::ustring getShapeOrTextObjectId() = 0;
+ virtual bool paste(SPDesktop *desktop, bool in_place = false) = 0;
+ virtual bool pasteStyle(SPDesktop *desktop) = 0;
+ virtual bool pasteSize(SPDesktop *desktop, bool separately, bool apply_x, bool apply_y) = 0;
+ virtual bool pastePathEffect(SPDesktop *desktop) = 0;
+ virtual Glib::ustring getPathParameter(SPDesktop* desktop) = 0;
+ virtual Glib::ustring getShapeOrTextObjectId(SPDesktop *desktop) = 0;
virtual const gchar *getFirstObjectID() = 0;
-
+
static ClipboardManager *get();
protected:
ClipboardManager(); // singleton
private:
ClipboardManager(const ClipboardManager &); ///< no copy
ClipboardManager &operator=(const ClipboardManager &); ///< no assign
-
+
static ClipboardManager *_instance;
};