Lunchbox  1.8.0
file.h
1 
2 /* Copyright (c) 2009, Cedric Stalder <cedric.stalder@gmail.com>
3  * 2009-2013, Stefan Eilemann <eile@equalizergraphics.com>
4  *
5  * This library is free software; you can redistribute it and/or modify it under
6  * the terms of the GNU Lesser General Public License version 2.1 as published
7  * by the Free Software Foundation.
8  *
9  * This library is distributed in the hope that it will be useful, but WITHOUT
10  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
11  * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
12  * details.
13  *
14  * You should have received a copy of the GNU Lesser General Public License
15  * along with this library; if not, write to the Free Software Foundation, Inc.,
16  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
17  */
18 
19 #ifndef LUNCHBOX_FILE_H
20 #define LUNCHBOX_FILE_H
21 
22 #include <lunchbox/api.h>
23 #include <lunchbox/types.h>
24 
25 namespace lunchbox
26 {
27 
35 LUNCHBOX_API Strings searchDirectory( const std::string& directory,
36  const std::string& pattern );
37 
39 LUNCHBOX_API std::string getFilename( const std::string& filename );
40 
42 LUNCHBOX_API std::string getDirname( const std::string& filename );
43 
44 }
45 #endif //LUNCHBOX_FILE_H