Changeset 623 in dev for trunk/ab5.0/jenga
- Timestamp:
- May 21, 2008, 11:02:07 PM (16 years ago)
- Location:
- trunk/ab5.0/jenga
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ab5.0/jenga/include/common/Path.h
r524 r623 58 58 static std::string MakeFullPath( const std::string &relativePath, const std::string &baseDirPath ); 59 59 static std::string MakeFullPathByCurrentDirectory( const std::string &relativePath ); 60 static std::string ExtractDirPath( const std::string &path ); 60 61 }; 61 62 -
trunk/ab5.0/jenga/include/jenga.h
r622 r623 12 12 #include "common/Path.h" 13 13 #include "common/String.h" 14 #include "common/VectorSupporter.h" -
trunk/ab5.0/jenga/projects/jenga/jenga.vcproj
r622 r623 399 399 > 400 400 </File> 401 <File 402 RelativePath="..\..\include\common\VectorSupporter.h" 403 > 404 </File> 401 405 </Filter> 402 406 <Filter -
trunk/ab5.0/jenga/src/common/Path.cpp
r518 r623 77 77 return MakeFullPath( relativePath, Jenga::Common::Environment::GetCurrentDir() ); 78 78 } 79 std::string Jenga::Common::Path::ExtractDirPath( const std::string &filepath ) 80 { 81 Path path( filepath ); 82 std::string result = path.GetDriveName() + path.GetDirName(); 83 return result; 84 }
Note:
See TracChangeset
for help on using the changeset viewer.