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
RevLine 
[608]1#pragma once
2
[618]3
[624]4namespace ActiveBasic{ namespace PM{
[618]5
6class Project
7{
8public:
[613]9
[620]10 Project()
11 : workDir( "" )
[655]12 , fileSystem( "Source Files" )
[620]13 {
14 }
15
[697]16 void Load( char const *path );
[621]17 void Save();
[619]18 bool Close();
19
20 const std::string &GetName() const
21 {
22 return name;
23 }
24
[620]25 const Jenga::Common::Directory &GetWorkDir() const
26 {
27 return workDir;
28 }
29
[622]30 const std::string GetResourceFileFullPath() const
31 {
32 return this->GetWorkDir().GetFullPath( this->GetName() + ".rc" );
33 }
34
[619]35 bool IsOpened() const
36 {
37 return !name.empty();
38 }
39
40 ActiveBasic::Common::TargetModuleType::EnumType GetModuleType() const
41 {
42 return moduleType;
43 }
44
[613]45 DWORD dwVersion;
46
[655]47 FM::FileSystem fileSystem;
[613]48
49 int NumberOfMenu;
50 MENU_INFO *pMenuInfo;
51 HTREEITEM hMenuTreeItem;
52
[615]53 WindowInfos windowInfos;
[613]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
[619]74private:
75 std::string name;
[620]76 Jenga::Common::Directory workDir;
[619]77 ActiveBasic::Common::TargetModuleType::EnumType moduleType;
[623]78
79public:
80 ActiveBasic::Common::ResourceManager resourceManager;
[608]81};
82
83
84}}
[613]85
[624]86extern ActiveBasic::PM::Project projectInfo;
Note: See TracBrowser for help on using the repository browser.