Ignore:
Timestamp:
May 19, 2008, 6:17:02 PM (16 years ago)
Author:
dai_9181
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ab5.0/abdev/abdev/FileOperation.cpp

    r619 r620  
    136136    lstrcpy(path,temp3);
    137137}
    138 void GetFullPath(char *path,char *dir){
     138void GetFullPath(char *path,const char *dir){
    139139    int i,i2,i3,i4;
    140140    char temporary[MAX_PATH];
     
    290290    return FT_OTHER;
    291291}
    292 HWND OpenFileWithExtension(char *OpenFileName){
     292HWND OpenFileWithExtension( const std::string &filePath )
     293{
    293294    int i;
    294295    _int8 DocumentType;
     296
     297    // TODO:
     298    char *OpenFileName = const_cast<char *>(filePath.c_str());
    295299
    296300    i=GetFileExtension(OpenFileName);
     
    348352
    349353        if(projectInfo.ModifyOfMaterial){
    350             sprintf(temporary,"%s%s.wnd",projectInfo.dir,projectInfo.GetName().c_str());
     354            sprintf(temporary,"%s%s.wnd",projectInfo.GetWorkDir().GetPath().c_str(),projectInfo.GetName().c_str());
    351355            SaveWindowFile( temporary, projectInfo.windowInfos );
    352356
Note: See TracChangeset for help on using the changeset viewer.