diff src/fn-cache.h @ 2233:0da2c91573d9

[project @ 1996-05-17 17:27:17 by jwe]
author jwe
date Fri, 17 May 1996 17:31:30 +0000
parents 834eab508368
children a83ae9534d2c
line wrap: on
line diff
--- a/src/fn-cache.h	Fri May 17 17:11:40 1996 +0000
+++ b/src/fn-cache.h	Fri May 17 17:31:30 1996 +0000
@@ -89,11 +89,18 @@
 
   ~octave_fcn_file_name_cache (void) { }
 
-  bool update (void);
+  bool update (const string& path = string ());
+
+  static string_vector list (bool no_suffix = false)
+    { return list (string (), no_suffix); }
 
-  static string_vector list (bool no_suffix = false);
+  static string_vector list (const string& path, bool no_suffix = false);
 
-  static string_vector list_no_suffix (void) { return list (true); }
+  static string_vector list_no_suffix (void)
+    { return list (true); }
+
+  static string_vector list_no_suffix (const string& path)
+    { return list (path, true); }
 
 private:
 
@@ -110,7 +117,7 @@
   // .oct suffixes.
   string_vector fcn_file_names_no_suffix;
 
-  string_vector do_list (bool no_suffix);
+  string_vector do_list (const string& path, bool no_suffix);
 };
 
 #endif