ScummVM API documentation
batqt.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_BATQT_H
23#define DIRECTOR_LINGO_XLIBS_BATQT_H
24
25#include "common/rect.h"
26
27namespace Video {
28class QuickTimeDecoder;
29}
30
31namespace Director {
32
33class BatQTXObject : public Object<BatQTXObject> {
34public:
35 BatQTXObject(ObjectType objType);
37
39 Common::Rect _movieBox;
40};
41
42namespace BatQT {
43
44extern const char *const xlibName;
45extern const XlibFileDesc fileNames[];
46
47void open(ObjectType type, const Common::Path &path);
48void close(ObjectType type);
49
50void m_new(int nargs);
51void m_dispose(int nargs);
52void m_name(int nargs);
53void m_status(int nargs);
54void m_error(int nargs);
55void m_lastError(int nargs);
56void m_open(int nargs);
57void m_play(int nargs);
58void m_stop(int nargs);
59void m_getTimeRange(int nargs);
60void m_getMovieBox(int nargs);
61void m_getTime(int nargs);
62void m_setTime(int nargs);
63void m_setVolume(int nargs);
64void m_length(int nargs);
65void m_setMovieBox(int nargs);
66void m_setTimeRange(int nargs);
67void m_addCallback(int nargs);
68void m_removeCallback(int nargs);
69void m_resetCallbacks(int nargs);
70void m_setBatch(int nargs);
71
72} // End of namespace BatQT
73
74} // End of namespace Director
75
76#endif
Definition: path.h:52
Definition: batqt.h:33
Definition: lingo-object.h:71
Definition: qt_decoder.h:66
Definition: rect.h:536
Definition: lingo-object.h:37