From 1f5448409b34b28a38ac48ae47ce2f66731142ef Mon Sep 17 00:00:00 2001 From: Michael R Sweet Date: Tue, 30 Apr 2002 18:11:49 +0000 Subject: Fl_Preferences::getUserdataPath() and getPath() methods now require a length parameter for the string. Added GUI preferences and file history to FLUID, using Fl_Preferences. FLUID now uses getUserdataPath() for the cut buffer location. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2141 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- FL/Fl_Preferences.H | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'FL') diff --git a/FL/Fl_Preferences.H b/FL/Fl_Preferences.H index c2ae5045b..8f2dfdfaf 100644 --- a/FL/Fl_Preferences.H +++ b/FL/Fl_Preferences.H @@ -1,5 +1,5 @@ // -// "$Id: Fl_Preferences.H,v 1.1.2.3 2002/04/29 20:57:29 easysw Exp $" +// "$Id: Fl_Preferences.H,v 1.1.2.4 2002/04/30 18:11:49 easysw Exp $" // // Preferences definitions for the Fast Light Tool Kit (FLTK). // @@ -81,7 +81,7 @@ public: // FL_EXPORT char get( const char *entry, void *value, const char *defaultValue, int maxSize ); FL_EXPORT int size( const char *entry ); - FL_EXPORT char getUserdataPath( char *path ); + FL_EXPORT char getUserdataPath( char *path, int pathlen ); FL_EXPORT void flush(); @@ -141,7 +141,7 @@ private: ~RootNode(); int read(); int write(); - char getPath( char *path ); + char getPath( char *path, int pathlen ); }; friend class RootNode; @@ -154,5 +154,5 @@ private: #endif // !Fl_Preferences_H // -// End of "$Id: Fl_Preferences.H,v 1.1.2.3 2002/04/29 20:57:29 easysw Exp $". +// End of "$Id: Fl_Preferences.H,v 1.1.2.4 2002/04/30 18:11:49 easysw Exp $". // -- cgit v1.2.3