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 
27 namespace Common {
28  class CueSheet;
29 }
30 
31 namespace Director {
32 
33 class AppleCDXObject : public Object<AppleCDXObject> {
34 public:
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 
45 namespace AppleCDXObj {
46 
47 extern const char *xlibName;
48 extern const XlibFileDesc fileNames[];
49 
50 void open(ObjectType type, const Common::Path &path);
51 void close(ObjectType type);
52 
53 void m_new(int nargs);
54 void m_dispose(int nargs);
55 void m_still(int nargs);
56 void m_service(int nargs);
57 void m_readStatus(int nargs);
58 void m_getValue(int nargs);
59 void m_setInPoint(int nargs);
60 void m_setOutPoint(int nargs);
61 void m_playCue(int nargs);
62 void m_playSegment(int nargs);
63 void m_readPos(int nargs);
64 void m_getFirstTrack(int nargs);
65 void m_getLastTrack(int nargs);
66 void m_getFirstFrame(int nargs);
67 void m_getLastFrame(int nargs);
68 void m_eject(int nargs);
69 
70 } // End of namespace AppleCDXObj
71 
72 } // End of namespace Director
73 
74 #endif
Definition: path.h:52
Definition: lingo-object.h:37
Definition: archive.h:35
Definition: lingo-object.h:71
Definition: algorithm.h:29
Definition: applecdxobj.h:33