Lunchbox  1.4.0
file.h
00001 
00002 /* Copyright (c) 2009, Cedric Stalder <cedric.stalder@gmail.com> 
00003  *               2009-2012, Stefan Eilemann <eile@equalizergraphics.com> 
00004  *
00005  * This library is free software; you can redistribute it and/or modify it under
00006  * the terms of the GNU Lesser General Public License version 2.1 as published
00007  * by the Free Software Foundation.
00008  *  
00009  * This library is distributed in the hope that it will be useful, but WITHOUT
00010  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
00011  * FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public License for more
00012  * details.
00013  * 
00014  * You should have received a copy of the GNU Lesser General Public License
00015  * along with this library; if not, write to the Free Software Foundation, Inc.,
00016  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
00017  */
00018 
00019 #ifndef LUNCHBOX_FILE_H
00020 #define LUNCHBOX_FILE_H
00021 
00022 #include <lunchbox/api.h>
00023 #include <lunchbox/types.h>
00024 
00025 namespace lunchbox
00026 {
00027 
00036 LUNCHBOX_API Strings searchDirectory( const std::string& directory,
00037                                     const std::string& pattern );
00038 
00040 LUNCHBOX_API std::string getFilename( const std::string& filename );
00041 
00043 LUNCHBOX_API std::string getDirname( const std::string& filename );
00044 
00045 }
00046 #endif //LUNCHBOX_FILE_H