Ignore:
Timestamp:
Jun 2, 2008, 11:50:24 PM (16 years ago)
Author:
dai_9181
Message:

MDIINFO構造体をリファクタリング。

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ab5.0/abdev/abdev/include/ProjectManager/WindowManager.h

    r625 r629  
    123123    const std::string GetSourceFileName() const
    124124    {
     125        return this->GetName() + ".ab";
     126    }
     127
     128    const std::string GetSourceFileNameForOldVer( const std::string &baseDir ) const
     129    {
     130        if( Jenga::Common::Path( baseDir + this->GetName() + ".ab" ).IsExistFile() )
     131        {
     132            return this->GetName() + ".ab";
     133        }
     134        if( Jenga::Common::Path( baseDir + this->GetName() + ".abp" ).IsExistFile() )
     135        {
     136            return this->GetName() + ".abp";
     137        }
     138        if( Jenga::Common::Path( baseDir + this->GetName() + ".sbp" ).IsExistFile() )
     139        {
     140            return this->GetName() + ".sbp";
     141        }
    125142        return this->GetName() + ".ab";
    126143    }
Note: See TracChangeset for help on using the changeset viewer.