try just removing all PLATFORM_WINDOWS conditionals in ipmidi code to see if it will...
[ardour.git] / libs / pbd / pbd / search_path.h
index 9f0d407751a3c202d3f81164b47dd2bf8ecff85c..d287782acaf63435c2155631b99ad4d9eef5f39f 100644 (file)
@@ -86,12 +86,12 @@ public:
         * Add another directory path to the search path.
         */
        LIBPBD_TEMPLATE_MEMBER_API Searchpath& operator+= (const std::string& directory_path);
-       
+
        /**
         * Concatenate another Searchpath onto this.
         */
        LIBPBD_TEMPLATE_MEMBER_API const Searchpath operator+ (const Searchpath& other);
-       
+
        /**
         * Add another path to the search path.
         */
@@ -114,12 +114,30 @@ public:
         */
        LIBPBD_TEMPLATE_MEMBER_API Searchpath& add_subdirectory_to_paths (const std::string& subdir);
 
-protected:
-
+       /**
+        * Add directory_path to this Searchpath.
+        */
        LIBPBD_TEMPLATE_MEMBER_API void add_directory (const std::string& directory_path);
+
+       /**
+        * Add directories in paths to this Searchpath.
+        */
        LIBPBD_TEMPLATE_MEMBER_API void add_directories (const std::vector<std::string>& paths);
+
+       /**
+        * Remove directory_path from this Searchpath.
+        */
        LIBPBD_TEMPLATE_MEMBER_API void remove_directory (const std::string& directory_path);
+
+       /**
+        * Remove all the directories in paths from this Searchpath.
+        */
        LIBPBD_TEMPLATE_MEMBER_API void remove_directories (const std::vector<std::string>& paths);
+
+       /**
+        * @return true if Searchpath already contains path
+        */
+       LIBPBD_TEMPLATE_MEMBER_API bool contains (const std::string& path) const;
 };
 
 LIBPBD_API void export_search_path (const std::string& base_dir, const char* varname, const char* dir);