| Rev | Line | |
|---|
| [475] | 1 | #pragma once
|
|---|
| 2 |
|
|---|
| 3 | namespace ActiveBasic{ namespace Common{
|
|---|
| 4 |
|
|---|
| 5 |
|
|---|
| [477] | 6 | struct Platform
|
|---|
| 7 | {
|
|---|
| 8 | enum EnumType
|
|---|
| 9 | {
|
|---|
| 10 | X86,
|
|---|
| 11 | X64,
|
|---|
| 12 | };
|
|---|
| 13 | };
|
|---|
| 14 |
|
|---|
| [475] | 15 | class Environment
|
|---|
| 16 | {
|
|---|
| [477] | 17 | static std::string rootPath;
|
|---|
| [475] | 18 | public:
|
|---|
| [477] | 19 | static void SetAbdevRootPath( const std::string &rootPath );
|
|---|
| 20 |
|
|---|
| 21 | static const std::string GetAbdevRootPath()
|
|---|
| 22 | {
|
|---|
| 23 | return rootPath;
|
|---|
| 24 | }
|
|---|
| 25 |
|
|---|
| 26 | static const std::string GetAbdevSystemDirPath()
|
|---|
| 27 | {
|
|---|
| 28 | return GetAbdevRootPath() + "\\system";
|
|---|
| 29 | }
|
|---|
| 30 |
|
|---|
| 31 | static const std::string GetCompilerExePath( Platform::EnumType platform );
|
|---|
| [475] | 32 | };
|
|---|
| 33 |
|
|---|
| 34 |
|
|---|
| 35 | }}
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.