Last change
on this file since 622 was 622, checked in by dai_9181, 16 years ago |
ResourceManagerクラスを追加。既存のリソース管理モジュールの置き換えを行った。
|
File size:
1.3 KB
|
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 | RESOURCEINFO res;
|
---|
| 56 |
|
---|
| 57 | DWORD dwOption;
|
---|
| 58 | char lpszOutput_Release[MAX_PATH];
|
---|
| 59 | char lpszOutput_Debug[MAX_PATH];
|
---|
| 60 |
|
---|
| 61 | //マニフェスト
|
---|
| 62 | char szManifestPath[MAX_PATH];
|
---|
| 63 |
|
---|
| 64 | //デバッグ情報
|
---|
| 65 | char szCmdLine[8192];
|
---|
| 66 | char szExePath[MAX_PATH];
|
---|
| 67 |
|
---|
| 68 | //ブレークポイント情報
|
---|
| 69 | CDBBreakPoint *pobj_DBBreakPoint;
|
---|
| 70 |
|
---|
| 71 | _int8 ModifyOfMaterial;
|
---|
| 72 | _int8 ModifuOfResource;
|
---|
| 73 | _int8 modify;
|
---|
| 74 |
|
---|
[619] | 75 | private:
|
---|
| 76 | std::string name;
|
---|
[620] | 77 | Jenga::Common::Directory workDir;
|
---|
[619] | 78 | ActiveBasic::Common::TargetModuleType::EnumType moduleType;
|
---|
[608] | 79 | };
|
---|
| 80 |
|
---|
| 81 |
|
---|
| 82 | }}
|
---|
[613] | 83 |
|
---|
[618] | 84 | extern ActiveBasic::IDE::Project projectInfo;
|
---|
Note:
See
TracBrowser
for help on using the repository browser.