TuttleOFX
1
|
00001 #ifndef _TUTTLE_COMMON_APPLICATIONPATH_HPP_ 00002 #define _TUTTLE_COMMON_APPLICATIONPATH_HPP_ 00003 00004 #include <boost/filesystem/path.hpp> 00005 #include <boost/filesystem/operations.hpp> 00006 00007 namespace tuttle { 00008 namespace common { 00009 00010 boost::filesystem::path applicationFilepath( const std::string& argv0, const boost::filesystem::path& currentPath = boost::filesystem::current_path() ); 00011 00012 } 00013 } 00014 00015 #endif