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

Last change on this file since 697 was 697, checked in by イグトランス (egtra), 16 years ago

エディタの2重オープンチェックの厳密化。abdevからコンパイラへのHWNDの受け渡しを64ビット対応へ。

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