Changeset 295 in dev for trunk/jenga/src/common/Directory.cpp
- Timestamp:
- Aug 22, 2007, 11:23:41 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/jenga/src/common/Directory.cpp
r166 r295 1 1 #include <boost/foreach.hpp> 2 2 #include <jenga/include/common/Directory.h> 3 #include <jenga/include/common/Exception.h> 4 5 #include <imagehlp.h> 3 6 4 7 using namespace std; 5 8 using namespace Jenga::Common; 9 10 Directory::Directory( const string &path, bool isMake ) 11 : path( path ) 12 { 13 if ( isMake ) 14 { 15 if (!::MakeSureDirectoryPathExists(path.c_str())) 16 { 17 Jenga::Throw( "MakeSureDirectoryPathExists failed!" ); 18 } 19 } 20 } 6 21 7 22 string Directory::GetFullPath( const string &relationPath )
Note:
See TracChangeset
for help on using the changeset viewer.