00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022 #ifndef PEEKABOT_FS_FS_TOOLBOX_HH_INCLUDED
00023 #define PEEKABOT_FS_FS_TOOLBOX_HH_INCLUDED
00024
00025
00026 #include <string>
00027 #include <list>
00028 #include <boost/filesystem/path.hpp>
00029
00030
00031 namespace peekabot
00032 {
00033 namespace fs
00034 {
00035 typedef boost::filesystem::path path;
00036
00037 path get_resource_path() throw();
00038
00039 path get_home_path() throw();
00040
00041 path get_pkgdata_path() throw();
00042
00043 path get_temp_path() throw();
00044
00045 void create_dir_if_inexistant(const path &path);
00046
00047 inline path make_path(const std::string &_path) throw()
00048 {
00049 return path(_path, boost::filesystem::native);
00050 }
00051 }
00052 }
00053
00054
00055 #endif // PEEKABOT_FS_FS_TOOLBOX_HH_INCLUDED