- static bool find(const std::string& file);
-
- /**
- * 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.
- */
- static FILE* open_file(const std::string& path,
- const std::string& mode = "rb");