From d683841f9f1932f871862096619cff486272528e Mon Sep 17 00:00:00 2001 From: Manolo Gouy Date: Fri, 15 Apr 2016 14:32:13 +0000 Subject: Move the platform-dependent implementations of Fl::paste() to the Fl_System_Driver class. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11615 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- FL/Fl_System_Driver.H | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'FL') diff --git a/FL/Fl_System_Driver.H b/FL/Fl_System_Driver.H index 0c1ff5b90..ca5145108 100644 --- a/FL/Fl_System_Driver.H +++ b/FL/Fl_System_Driver.H @@ -36,6 +36,7 @@ class Fl_File_Icon; class Fl_File_Browser; class Fl_Pixmap; +class Fl_Widget; /** \brief A base class for platform-specific system operations. @@ -193,8 +194,10 @@ public: static const char * const tree_close_xpm[]; // used by tree_closepixmap() // the default implementation of tree_connector_style() is in Fl_Tree_Prefs.cxx and can be enough virtual int tree_connector_style(); - //implement to support copy-to-clipboard + // implement to support copy-to-clipboard virtual void copy(const char *stuff, int len, int clipboard, const char *type) {} + // implement to support paste-from-clipboard + virtual void paste(Fl_Widget &receiver, int clipboard, const char *type) {} }; #endif // FL_SYSTEM_DRIVER_H -- cgit v1.2.3