ScummVM API documentation
applecdxobj.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_APPLECDXOBJ_H
23#define DIRECTOR_LINGO_XLIBS_APPLECDXOBJ_H
24
25#include "common/ptr.h"
26
27namespace Common {
28 class CueSheet;
29}
30
31namespace Director {
32
33class AppleCDXObject : public Object<AppleCDXObject> {
34public:
35 AppleCDXObject(ObjectType objType);
36 int _inpoint;
37 int _outpoint;
38 // Instead of immediately returning values, methods which return
39 // a value store it internally and return it via a subsequent
40 // call to mGetValue.
41 int _returnValue;
43};
44
45namespace AppleCDXObj {
46
47extern const char *const xlibName;
48extern const XlibFileDesc fileNames[];
49
50void open(ObjectType type, const Common::Path &path);
51void close(ObjectType type);
52
53void m_new(int nargs);
54void m_dispose(int nargs);
55void m_still(int nargs);
56void m_service(int nargs);
57void m_readStatus(int nargs);
58void m_getValue(int nargs);
59void m_setInPoint(int nargs);
60void m_setOutPoint(int nargs);
61void m_playCue(int nargs);
62void m_playSegment(int nargs);
63void m_readPos(int nargs);
64void m_getFirstTrack(int nargs);
65void m_getLastTrack(int nargs);
66void m_getFirstFrame(int nargs);
67void m_getLastFrame(int nargs);
68void m_eject(int nargs);
69
70} // End of namespace AppleCDXObj
71
72} // End of namespace Director
73
74#endif
Definition: path.h:52
Definition: applecdxobj.h:33
Definition: lingo-object.h:71
Definition: algorithm.h:29
Definition: lingo-object.h:37