source: dev/trunk/ab5.0/abdev/abdev/include/ProjectManager/ProjectManager.h@ 622

Last change on this file since 622 was 622, checked in by dai_9181, 16 years ago

ResourceManagerクラスを追加。既存のリソース管理モジュールの置き換えを行った。

File size: 1.3 KB
Line 
1#pragma once
2
3
4namespace ActiveBasic{ namespace IDE{
5
6class Project
7{
8public:
9
10 Project()
11 : workDir( "" )
12 {
13 }
14
15 void Load( char *path );
16 void Save();
17 bool Close();
18
19 const std::string &GetName() const
20 {
21 return name;
22 }
23
24 const Jenga::Common::Directory &GetWorkDir() const
25 {
26 return workDir;
27 }
28
29 const std::string GetResourceFileFullPath() const
30 {
31 return this->GetWorkDir().GetFullPath( this->GetName() + ".rc" );
32 }
33
34 bool IsOpened() const
35 {
36 return !name.empty();
37 }
38
39 ActiveBasic::Common::TargetModuleType::EnumType GetModuleType() const
40 {
41 return moduleType;
42 }
43
44 DWORD dwVersion;
45
46 CDBFileInfo *pobj_DBFileInfo;
47
48 int NumberOfMenu;
49 MENU_INFO *pMenuInfo;
50 HTREEITEM hMenuTreeItem;
51
52 WindowInfos windowInfos;
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
75private:
76 std::string name;
77 Jenga::Common::Directory workDir;
78 ActiveBasic::Common::TargetModuleType::EnumType moduleType;
79};
80
81
82}}
83
84extern ActiveBasic::IDE::Project projectInfo;
Note: See TracBrowser for help on using the repository browser.