diff options
| author | Manolo Gouy <Manolo> | 2016-04-15 14:32:13 +0000 |
|---|---|---|
| committer | Manolo Gouy <Manolo> | 2016-04-15 14:32:13 +0000 |
| commit | d683841f9f1932f871862096619cff486272528e (patch) | |
| tree | 1b8aeba9351e56612553b95e13c18f6637e228eb /FL | |
| parent | 7508a033c508bb05b315bcb701941f35f8f9a764 (diff) | |
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
Diffstat (limited to 'FL')
| -rw-r--r-- | FL/Fl_System_Driver.H | 5 |
1 files changed, 4 insertions, 1 deletions
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 |
