summaryrefslogtreecommitdiff
path: root/FL/Fl_System_Driver.H
diff options
context:
space:
mode:
authorManolo Gouy <Manolo>2016-04-15 14:18:37 +0000
committerManolo Gouy <Manolo>2016-04-15 14:18:37 +0000
commit7508a033c508bb05b315bcb701941f35f8f9a764 (patch)
tree25b23a94fabe9b0bbfac058f2a19107c6a5b56f1 /FL/Fl_System_Driver.H
parent3f64e2b28d3556a1ea316fe6ae73eabf454f1fa8 (diff)
Continue moving to Fl_System_Driver the platform_dependent implementations of member functions of the Fl class.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11614 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'FL/Fl_System_Driver.H')
-rw-r--r--FL/Fl_System_Driver.H4
1 files changed, 4 insertions, 0 deletions
diff --git a/FL/Fl_System_Driver.H b/FL/Fl_System_Driver.H
index 028802c58..0c1ff5b90 100644
--- a/FL/Fl_System_Driver.H
+++ b/FL/Fl_System_Driver.H
@@ -122,6 +122,8 @@ public:
virtual int filename_isdir_quick(const char* n);
// the default implementation of filename_ext() is in src/filename_ext.cxx and may be enough
virtual const char *filename_ext(const char *buf);
+ // implement to support fl_filename_name()
+ virtual const char *filename_name(const char *buf) {return buf;}
// whether a platform uses additional code in Fl_Menu::handle(int e)
virtual int need_menu_handle_part2() {return 0;}
// whether a platform uses additional code in Fl_Menu::handle_part1(int e)
@@ -191,6 +193,8 @@ 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
+ virtual void copy(const char *stuff, int len, int clipboard, const char *type) {}
};
#endif // FL_SYSTEM_DRIVER_H