ScummVM API documentation
spacemgr.h
1 /* ScummVM - Graphic Adventure Engine
2  *
3  * ScummVM is the legal property of its developers, whose names
4  * are too numerous to list here. Please refer to the COPYRIGHT
5  * file distributed with this source distribution.
6  *
7  * This program is free software: you can redistribute it and/or modify
8  * it under the terms of the GNU General Public License as published by
9  * the Free Software Foundation, either version 3 of the License, or
10  * (at your option) any later version.
11  *
12  * This program is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15  * GNU General Public License for more details.
16  *
17  * You should have received a copy of the GNU General Public License
18  * along with this program. If not, see <http://www.gnu.org/licenses/>.
19  *
20  */
21 
22 #ifndef DIRECTOR_LINGO_XLIBS_SPACEMGR_H
23 #define DIRECTOR_LINGO_XLIBS_SPACEMGR_H
24 
25 namespace Director {
26 
27 namespace SpaceMgr {
28 
29 struct LLink {
30  Common::String payload;
31 };
32 
33 struct View {
34  Common::String payload;
36 };
37 
38 struct Node {
40 };
41 
42 struct Space {
44 };
45 
48 };
49 
50 extern const char *xlibName;
51 extern const XlibFileDesc fileNames[];
52 
53 void open(ObjectType type, const Common::Path &path);
54 void close(ObjectType type);
55 
56 void m_new(int nargs);
57 void m_dispose(int nargs);
58 void m_lastError(int nargs);
59 void m_memUsed(int nargs);
60 void m_listData(int nargs);
61 void m_sortAll(int nargs);
62 void m_checkForDups(int nargs);
63 void m_parseText(int nargs);
64 void m_getCurData(int nargs);
65 void m_setCurData(int nargs);
66 void m_addSpaceCollection(int nargs);
67 void m_removeSpaceCollection(int nargs);
68 void m_setCurSpaceCollection(int nargs);
69 void m_getCurSpaceCollection(int nargs);
70 void m_getSpaceCollection(int nargs);
71 void m_addSpace(int nargs);
72 void m_removeSpace(int nargs);
73 void m_setCurSpace(int nargs);
74 void m_getCurSpace(int nargs);
75 void m_getSpace(int nargs);
76 void m_addNode(int nargs);
77 void m_removeNode(int nargs);
78 void m_setCurNode(int nargs);
79 void m_getCurNode(int nargs);
80 void m_getNode(int nargs);
81 void m_addView(int nargs);
82 void m_removeView(int nargs);
83 void m_setCurView(int nargs);
84 void m_getCurView(int nargs);
85 void m_getView(int nargs);
86 void m_addLocalLink(int nargs);
87 void m_removeLocalLink(int nargs);
88 void m_removeLocalLinks(int nargs);
89 void m_getLocalLink(int nargs);
90 void m_getLocalLinks(int nargs);
91 void m_addGlobalLink(int nargs);
92 void m_removeGlobalLink(int nargs);
93 void m_getGlobalLink(int nargs);
94 void m_getGlobalLinks(int nargs);
95 
96 } // End of namespace SpaceMgr
97 
98 class SpaceMgrXObject : public Object<SpaceMgrXObject> {
99 public:
100  SpaceMgrXObject(ObjectType objType);
101 
102  Common::String _curSpaceCollection;
103  Common::String _curSpace;
104  Common::String _curNode;
105  Common::String _curView;
106  bool _checkForDups = false;
107 
109 };
110 } // End of namespace Director
111 
112 #endif
Definition: str.h:59
Definition: path.h:52
Definition: lingo-object.h:37
Definition: archive.h:35
Definition: lingo-object.h:71
Definition: spacemgr.h:38
Definition: spacemgr.h:42
Definition: hashmap.h:85
Definition: spacemgr.h:98
Definition: spacemgr.h:33
Definition: spacemgr.h:46