OpenMW
components/file_finder/search.hpp
Go to the documentation of this file.
00001 #ifndef FILE_FINDER_SEARCH_H
00002 #define FILE_FINDER_SEARCH_H
00003 
00004 #include <boost/filesystem.hpp>
00005 #include <string>
00006 
00007 namespace FileFinder
00008 {
00009   struct ReturnPath
00010   {
00011     virtual void add(const boost::filesystem::path &pth) = 0;
00012   };
00013 
00017   void find(const boost::filesystem::path & dir_path, ReturnPath &ret, bool recurse=true);
00018 }
00019 
00020 #endif