add unfinished bmpImage implementation
[openc2e.git] / PathResolver.h
blob2ae7ca96dcf9c0936850cd9b91a8bcfea2cb1310
1 /*
2 * PathResolver.h
3 * openc2e
5 * Created by Bryan Donlan
6 * Copyright (c) 2005 Bryan Donlan. All rights reserved.
8 * This library is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU Lesser General Public
10 * License as published by the Free Software Foundation; either
11 * version 2 of the License, or (at your option) any later version.
13 * This library is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 * Lesser General Public License for more details.
20 #ifndef PATHRESOLVER_H
21 #define PATHRESOLVER_H 1
23 #include <string>
24 #include <vector>
25 #include <boost/filesystem/path.hpp>
27 /* resolveFile
29 * Find a file's name, without caring about its capitalization.
31 bool resolveFile(std::string &srcPath);
33 bool resolveFile(boost::filesystem::path &path);
35 std::vector<std::string> findByWildcard(std::string dir, std::string wild);
37 #endif
39 /* vim: set noet: */