remove some deprected stuff
[chaz/yoink] / src / moof / resource.cc
index c57b527fe706e8de09e61b67ca7e81cac48b9ee0..57bd99b927df9fabfdee70f22faeae208c2d823b 100644 (file)
@@ -222,15 +222,6 @@ void resource::add_search_paths(const std::string& paths)
 }
 
 
-bool resource::find(const std::string& path)
-{
-       //std::string file = stlplus::lookup(path, search_paths_, ":");
-       //log_info("found file", file, "in", search_paths_);
-       //return !stlplus::lookup(path, search_paths_, ":").empty();
-       return find_file(path) != "";
-}
-
-
 std::string resource::find_file(const std::string& name)
 {
        std::vector<std::string> paths;
@@ -278,11 +269,6 @@ std::string resource::find_file(const std::string& name,
        return find_file(name);
 }
 
-FILE* resource::open_file(const std::string& path, const std::string& mode)
-{
-       return fopen(find_file(path).c_str(), mode.c_str());
-}
-
 
 } // namespace moof
 
This page took 0.017197 seconds and 4 git commands to generate.