Line | |
---|
1 | #pragma once
|
---|
2 |
|
---|
3 |
|
---|
4 | namespace ActiveBasic{ namespace PM{
|
---|
5 |
|
---|
6 | class Project
|
---|
7 | {
|
---|
8 | public:
|
---|
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 | 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 |
|
---|
73 | private:
|
---|
74 | std::string name;
|
---|
75 | Jenga::Common::Directory workDir;
|
---|
76 | ActiveBasic::Common::TargetModuleType::EnumType moduleType;
|
---|
77 |
|
---|
78 | public:
|
---|
79 | ActiveBasic::Common::ResourceManager resourceManager;
|
---|
80 | };
|
---|
81 |
|
---|
82 |
|
---|
83 | }}
|
---|
84 |
|
---|
85 | extern ActiveBasic::PM::Project projectInfo;
|
---|
Note:
See
TracBrowser
for help on using the repository browser.