diff src/load-path.h @ 5867:b305874f50ef

[project @ 2006-06-28 22:11:51 by jwe]
author jwe
date Wed, 28 Jun 2006 22:11:51 +0000
parents e884ab4f29ee
children b84b59b614c5
line wrap: on
line diff
--- a/src/load-path.h	Wed Jun 28 16:05:24 2006 +0000
+++ b/src/load-path.h	Wed Jun 28 22:11:51 2006 +0000
@@ -57,22 +57,22 @@
       instance->do_clear ();
   }
 
-  static void set (const std::string& p)
+  static void set (const std::string& p, bool warn = false)
   {
     if (instance_ok ())
-      instance->do_set (p);
+      instance->do_set (p, warn);
   }
 
-  static void append (const std::string& dir)
+  static void append (const std::string& dir, bool warn = false)
   {
     if (instance_ok ())
-      instance->do_append (dir);
+      instance->do_append (dir, warn);
   }
 
-  static void prepend (const std::string& dir)
+  static void prepend (const std::string& dir, bool warn = false)
   {
     if (instance_ok ())
-      instance->do_prepend (dir);
+      instance->do_prepend (dir, warn);
   }
 
   static bool remove (const std::string& dir)
@@ -298,11 +298,13 @@
 
   void do_clear (void);
 
-  void do_set (const std::string& p);
+  void do_set (const std::string& p, bool warn);
+
+  void do_append (const std::string& dir, bool warn);
 
-  void do_append (const std::string& dir);
+  void do_prepend (const std::string& dir, bool warn);
 
-  void do_prepend (const std::string& dir);
+  void do_add (const std::string& dir, bool at_end, bool warn);
 
   bool do_remove (const std::string& dir);