|
Last change
on this file since 496 was 478, checked in by dai_9181, 18 years ago |
|
・リポジトリ参照の張りなおし。
・Environment::GetAbdevRootPathメソッドにて、自動的にデータの初期化を行うようにした。
・reg_exp.cppの文字コードをShift-JISに統一。
|
|
File size:
499 bytes
|
| Line | |
|---|
| 1 | #pragma once
|
|---|
| 2 |
|
|---|
| 3 | namespace ActiveBasic{ namespace Common{
|
|---|
| 4 |
|
|---|
| 5 |
|
|---|
| 6 | struct Platform
|
|---|
| 7 | {
|
|---|
| 8 | enum EnumType
|
|---|
| 9 | {
|
|---|
| 10 | X86,
|
|---|
| 11 | X64,
|
|---|
| 12 | };
|
|---|
| 13 | };
|
|---|
| 14 |
|
|---|
| 15 | class Environment
|
|---|
| 16 | {
|
|---|
| 17 | static std::string rootPath;
|
|---|
| 18 | public:
|
|---|
| 19 | static void SetAbdevRootPath( const std::string &rootPath );
|
|---|
| 20 |
|
|---|
| 21 | static const std::string GetAbdevRootPath();
|
|---|
| 22 |
|
|---|
| 23 | static const std::string GetAbdevSystemDirPath()
|
|---|
| 24 | {
|
|---|
| 25 | return GetAbdevRootPath() + "\\system";
|
|---|
| 26 | }
|
|---|
| 27 |
|
|---|
| 28 | static const std::string GetCompilerExePath( Platform::EnumType platform );
|
|---|
| 29 | };
|
|---|
| 30 |
|
|---|
| 31 |
|
|---|
| 32 | }}
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.