diff options
| author | Michael R Sweet <michael.r.sweet@gmail.com> | 2002-04-30 18:11:49 +0000 |
|---|---|---|
| committer | Michael R Sweet <michael.r.sweet@gmail.com> | 2002-04-30 18:11:49 +0000 |
| commit | 1f5448409b34b28a38ac48ae47ce2f66731142ef (patch) | |
| tree | 0a813a222374ef7977c135a7eae04fed9831d173 /FL | |
| parent | 19b4d2fd1cb060a83ed75353f876dec3877059a5 (diff) | |
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
Diffstat (limited to 'FL')
| -rw-r--r-- | FL/Fl_Preferences.H | 8 |
1 files changed, 4 insertions, 4 deletions
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 $". // |
