00001 #ifndef CAFE_DEFAULTFILEFINDER_HPP__
00002 #define CAFE_DEFAULTFILEFINDER_HPP_
00003
00004 #include <string>
00005 #include <list>
00006
00007 namespace cafe {
00008
00015 class DefaultFileFinder {
00016 public:
00017 DefaultFileFinder ();
00018
00020 void push_back (const std::string& location);
00021
00023 void push_front (const std::string& location);
00024
00028 std::string findFile (const std::string &base_name) const;
00029
00030 private:
00031 std::list<std::string> _locations;
00032 };
00033
00034 }
00035
00036 #endif // CAFE_DEFAULTFILEFINDER_HPP_