]> Dogcows Code - chaz/yoink/blobdiff - src/moof/resource.hh
remove some deprected stuff
[chaz/yoink] / src / moof / resource.hh
index eba4b3f2871d59e55a81b661e98776a947b97183..9d991053c21b841be3ebc164e6b538244c80bb82 100644 (file)
@@ -19,7 +19,6 @@
 
 #include "config.h"
 
-#include <cstdio>
 #include <map>
 #include <stdexcept>
 #include <string>
@@ -62,28 +61,12 @@ public:
         * \param path The name of the resource to find.  Upon successful
         * return, this is changed to an absolute path to the resource.
         * \return True if a path to a resource was found, false otherwise.
-        * XXX this is legacy
         */
-       static bool find(const std::string& file);
-
        static std::string find_file(const std::string& name);
 
        static std::string find_file(const std::string& name,
                                                                 const std::string& ext);
 
-       /**
-        * Get the path to a resource of a given name and open it if a resource
-        * was found.
-        * \param path The name of the resource to find.  Upon successful
-        * return, this is changed to an absolute path to the resource.
-        * \param mode The open mode.
-        * \return The FILE* if the resource was found, 0 otherwise.
-        * XXX deprecated
-        */
-       static FILE* open_file(const std::string& path,
-                                                  const std::string& mode = "rb");
-
-
        /**
         * Register a type with the extension of files which this type can
         * load.  If any type has already been registered with the given file
@@ -95,7 +78,6 @@ public:
                                                          const std::string& prefix = "")
        {
                loader_ptr loader(new specific_loader<T>(prefix));
-               printf("registered type with prefix %s", loader->prefix().c_str());
                call_registry(extension, loader, set);
        }
 
This page took 0.021201 seconds and 4 git commands to generate.