Changeset 478 in dev for trunk/ab5.0/abdev/ab_common


Ignore:
Timestamp:
Apr 6, 2008, 8:51:31 PM (16 years ago)
Author:
dai_9181
Message:

・リポジトリ参照の張りなおし。
・Environment::GetAbdevRootPathメソッドにて、自動的にデータの初期化を行うようにした。
・reg_exp.cppの文字コードをShift-JISに統一。

Location:
trunk/ab5.0
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/ab5.0

    • Property svn:externals
      •  

        old new  
        11ablib http://dev.activebasic.com/svnroot/ablib/trunk
        2 abdev/build/debug/include http://dev.activebasic.com/svnroot/ablib/trunk/Include
        3 abdev/build/debug/runtime http://dev.activebasic.com/svnroot/ablib/trunk/bin/Runtime
        4 abdev/build/debug/system http://dev.activebasic.com/svnroot/ablib/trunk/bin/SubOperation
        5 abdev/build/debug/theme http://dev.activebasic.com/svnroot/ablib/trunk/bin/Theme
        6 abdev/build/release/include http://dev.activebasic.com/svnroot/ablib/trunk/Include
        7 abdev/build/release/runtime http://dev.activebasic.com/svnroot/ablib/trunk/bin/Runtime
        8 abdev/build/release/system http://dev.activebasic.com/svnroot/ablib/trunk/bin/SubOperation
        9 abdev/build/release/theme http://dev.activebasic.com/svnroot/ablib/trunk/bin/Theme
         2abdev/build/debug/ablib http://dev.activebasic.com/svnroot/ablib/trunk/ab5.0/ablib
         3abdev/build/debug/runtime http://dev.activebasic.com/svnroot/ablib/trunk/ab5.0/runtime
         4abdev/build/debug/system http://dev.activebasic.com/svnroot/ablib/trunk/ab5.0/system
         5abdev/build/debug/theme http://dev.activebasic.com/svnroot/ablib/trunk/ab5.0/theme
         6abdev/build/release/ablib http://dev.activebasic.com/svnroot/ablib/trunk/ab5.0/ablib
         7abdev/build/release/runtime http://dev.activebasic.com/svnroot/ablib/trunk/ab5.0/runtime
         8abdev/build/release/system http://dev.activebasic.com/svnroot/ablib/trunk/ab5.0/system
         9abdev/build/release/theme http://dev.activebasic.com/svnroot/ablib/trunk/ab5.0/theme
  • trunk/ab5.0/abdev/ab_common/Environment.cpp

    r477 r478  
    11#include "stdafx.h"
    22
    3 std::string ActiveBasic::Common::Environment::rootPath = Jenga::Common::Environment::GetAppDir();
     3std::string ActiveBasic::Common::Environment::rootPath;
    44
    55using namespace ActiveBasic::Common;
     
    88{
    99    Environment::rootPath = Jenga::Common::Path::MakeFullPath( rootPath, Jenga::Common::Environment::GetAppDir() );
     10}
     11const std::string Environment::GetAbdevRootPath()
     12{
     13    if( rootPath.empty() )
     14    {
     15        SetAbdevRootPath( "" );
     16    }
     17    return rootPath;
    1018}
    1119const std::string Environment::GetCompilerExePath( Platform::EnumType platform )
  • trunk/ab5.0/abdev/ab_common/Environment.h

    r477 r478  
    1919    static void SetAbdevRootPath( const std::string &rootPath );
    2020
    21     static const std::string GetAbdevRootPath()
    22     {
    23         return rootPath;
    24     }
     21    static const std::string GetAbdevRootPath();
    2522
    2623    static const std::string GetAbdevSystemDirPath()
Note: See TracChangeset for help on using the changeset viewer.