bool VideoWrapper::open(const BoostPath& ThePath, Window* const TheWindow) { //Check if the file exists if(boost::filesystem::exists(ThePath)) { return open(ThePath.file_string(), TheWindow); } else { SWARNING << "VideoWrapper::open(): File " << ThePath.file_string() << " could not be opened, because no file with that path exists" << std::endl; return false; } }