Rev | Line | |
---|
[608] | 1 | #pragma once
|
---|
| 2 |
|
---|
[618] | 3 |
|
---|
| 4 | namespace ActiveBasic{ namespace IDE{
|
---|
| 5 |
|
---|
| 6 | class Project
|
---|
| 7 | {
|
---|
| 8 | public:
|
---|
[613] | 9 |
|
---|
[620] | 10 | Project()
|
---|
| 11 | : workDir( "" )
|
---|
| 12 | {
|
---|
| 13 | }
|
---|
| 14 |
|
---|
[621] | 15 | void Load( char *path );
|
---|
| 16 | void Save();
|
---|
[619] | 17 | bool Close();
|
---|
| 18 |
|
---|
| 19 | const std::string &GetName() const
|
---|
| 20 | {
|
---|
| 21 | return name;
|
---|
| 22 | }
|
---|
| 23 |
|
---|
[620] | 24 | const Jenga::Common::Directory &GetWorkDir() const
|
---|
| 25 | {
|
---|
| 26 | return workDir;
|
---|
| 27 | }
|
---|
| 28 |
|
---|
[622] | 29 | const std::string GetResourceFileFullPath() const
|
---|
| 30 | {
|
---|
| 31 | return this->GetWorkDir().GetFullPath( this->GetName() + ".rc" );
|
---|
| 32 | }
|
---|
| 33 |
|
---|
[619] | 34 | bool IsOpened() const
|
---|
| 35 | {
|
---|
| 36 | return !name.empty();
|
---|
| 37 | }
|
---|
| 38 |
|
---|
| 39 | ActiveBasic::Common::TargetModuleType::EnumType GetModuleType() const
|
---|
| 40 | {
|
---|
| 41 | return moduleType;
|
---|
| 42 | }
|
---|
| 43 |
|
---|
[613] | 44 | DWORD dwVersion;
|
---|
| 45 |
|
---|
| 46 | CDBFileInfo *pobj_DBFileInfo;
|
---|
| 47 |
|
---|
| 48 | int NumberOfMenu;
|
---|
| 49 | MENU_INFO *pMenuInfo;
|
---|
| 50 | HTREEITEM hMenuTreeItem;
|
---|
| 51 |
|
---|
[615] | 52 | WindowInfos windowInfos;
|
---|
[613] | 53 | HTREEITEM hWindowTreeItem;
|
---|
| 54 |
|
---|
| 55 | DWORD dwOption;
|
---|
| 56 | char lpszOutput_Release[MAX_PATH];
|
---|
| 57 | char lpszOutput_Debug[MAX_PATH];
|
---|
| 58 |
|
---|
| 59 | //マニフェスト
|
---|
| 60 | char szManifestPath[MAX_PATH];
|
---|
| 61 |
|
---|
| 62 | //デバッグ情報
|
---|
| 63 | char szCmdLine[8192];
|
---|
| 64 | char szExePath[MAX_PATH];
|
---|
| 65 |
|
---|
| 66 | //ブレークポイント情報
|
---|
| 67 | CDBBreakPoint *pobj_DBBreakPoint;
|
---|
| 68 |
|
---|
| 69 | _int8 ModifyOfMaterial;
|
---|
| 70 | _int8 ModifuOfResource;
|
---|
| 71 | _int8 modify;
|
---|
| 72 |
|
---|
[619] | 73 | private:
|
---|
| 74 | std::string name;
|
---|
[620] | 75 | Jenga::Common::Directory workDir;
|
---|
[619] | 76 | ActiveBasic::Common::TargetModuleType::EnumType moduleType;
|
---|
[623] | 77 |
|
---|
| 78 | public:
|
---|
| 79 | ActiveBasic::Common::ResourceManager resourceManager;
|
---|
[608] | 80 | };
|
---|
| 81 |
|
---|
| 82 |
|
---|
| 83 | }}
|
---|
[613] | 84 |
|
---|
[618] | 85 | extern ActiveBasic::IDE::Project projectInfo;
|
---|
Note:
See
TracBrowser
for help on using the repository browser.