Changeset 623 in dev for trunk/ab5.0/jenga/src/common


Ignore:
Timestamp:
May 21, 2008, 11:02:07 PM (16 years ago)
Author:
dai_9181
Message:

Projectクラスをリファクタリング

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ab5.0/jenga/src/common/Path.cpp

    r518 r623  
    7777    return MakeFullPath( relativePath, Jenga::Common::Environment::GetCurrentDir() );
    7878}
     79std::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.