summaryrefslogtreecommitdiffstats
path: root/Mac/Modules/qt/Qtmodule.c
diff options
context:
space:
mode:
Diffstat (limited to 'Mac/Modules/qt/Qtmodule.c')
-rw-r--r--Mac/Modules/qt/Qtmodule.c129
1 files changed, 0 insertions, 129 deletions
diff --git a/Mac/Modules/qt/Qtmodule.c b/Mac/Modules/qt/Qtmodule.c
index ffba461..a4eedce 100644
--- a/Mac/Modules/qt/Qtmodule.c
+++ b/Mac/Modules/qt/Qtmodule.c
@@ -5730,125 +5730,6 @@ static PyObject *Qt_RemoveMovieResource(_self, _args)
return _res;
}
-static PyObject *Qt_GetVideoMediaGraphicsMode(_self, _args)
- PyObject *_self;
- PyObject *_args;
-{
- PyObject *_res = NULL;
- HandlerError _rv;
- MediaHandler mh;
- long graphicsMode;
- RGBColor opColor;
- if (!PyArg_ParseTuple(_args, "O&",
- CmpInstObj_Convert, &mh))
- return NULL;
- _rv = GetVideoMediaGraphicsMode(mh,
- &graphicsMode,
- &opColor);
- _res = Py_BuildValue("llO&",
- _rv,
- graphicsMode,
- QdRGB_New, &opColor);
- return _res;
-}
-
-static PyObject *Qt_SetVideoMediaGraphicsMode(_self, _args)
- PyObject *_self;
- PyObject *_args;
-{
- PyObject *_res = NULL;
- HandlerError _rv;
- MediaHandler mh;
- long graphicsMode;
- RGBColor opColor;
- if (!PyArg_ParseTuple(_args, "O&lO&",
- CmpInstObj_Convert, &mh,
- &graphicsMode,
- QdRGB_Convert, &opColor))
- return NULL;
- _rv = SetVideoMediaGraphicsMode(mh,
- graphicsMode,
- &opColor);
- _res = Py_BuildValue("l",
- _rv);
- return _res;
-}
-
-static PyObject *Qt_GetSoundMediaBalance(_self, _args)
- PyObject *_self;
- PyObject *_args;
-{
- PyObject *_res = NULL;
- HandlerError _rv;
- MediaHandler mh;
- short balance;
- if (!PyArg_ParseTuple(_args, "O&",
- CmpInstObj_Convert, &mh))
- return NULL;
- _rv = GetSoundMediaBalance(mh,
- &balance);
- _res = Py_BuildValue("lh",
- _rv,
- balance);
- return _res;
-}
-
-static PyObject *Qt_SetSoundMediaBalance(_self, _args)
- PyObject *_self;
- PyObject *_args;
-{
- PyObject *_res = NULL;
- HandlerError _rv;
- MediaHandler mh;
- short balance;
- if (!PyArg_ParseTuple(_args, "O&h",
- CmpInstObj_Convert, &mh,
- &balance))
- return NULL;
- _rv = SetSoundMediaBalance(mh,
- balance);
- _res = Py_BuildValue("l",
- _rv);
- return _res;
-}
-
-static PyObject *Qt_FindNextText(_self, _args)
- PyObject *_self;
- PyObject *_args;
-{
- PyObject *_res = NULL;
- ComponentResult _rv;
- MediaHandler mh;
- Ptr text;
- long size;
- short findFlags;
- TimeValue startTime;
- TimeValue foundTime;
- TimeValue foundDuration;
- long offset;
- if (!PyArg_ParseTuple(_args, "O&slhl",
- CmpInstObj_Convert, &mh,
- &text,
- &size,
- &findFlags,
- &startTime))
- return NULL;
- _rv = FindNextText(mh,
- text,
- size,
- findFlags,
- startTime,
- &foundTime,
- &foundDuration,
- &offset);
- _res = Py_BuildValue("llll",
- _rv,
- foundTime,
- foundDuration,
- offset);
- return _res;
-}
-
static PyObject *Qt_NewMovieFromScrap(_self, _args)
PyObject *_self;
PyObject *_args;
@@ -5963,16 +5844,6 @@ static PyMethodDef Qt_methods[] = {
"(short fRefNum, long fileOffset, short newMovieFlags) -> (Movie theMovie, Boolean dataRefWasChanged)"},
{"RemoveMovieResource", (PyCFunction)Qt_RemoveMovieResource, 1,
"(short resRefNum, short resId) -> None"},
- {"GetVideoMediaGraphicsMode", (PyCFunction)Qt_GetVideoMediaGraphicsMode, 1,
- "(MediaHandler mh) -> (HandlerError _rv, long graphicsMode, RGBColor opColor)"},
- {"SetVideoMediaGraphicsMode", (PyCFunction)Qt_SetVideoMediaGraphicsMode, 1,
- "(MediaHandler mh, long graphicsMode, RGBColor opColor) -> (HandlerError _rv)"},
- {"GetSoundMediaBalance", (PyCFunction)Qt_GetSoundMediaBalance, 1,
- "(MediaHandler mh) -> (HandlerError _rv, short balance)"},
- {"SetSoundMediaBalance", (PyCFunction)Qt_SetSoundMediaBalance, 1,
- "(MediaHandler mh, short balance) -> (HandlerError _rv)"},
- {"FindNextText", (PyCFunction)Qt_FindNextText, 1,
- "(MediaHandler mh, Ptr text, long size, short findFlags, TimeValue startTime) -> (ComponentResult _rv, TimeValue foundTime, TimeValue foundDuration, long offset)"},
{"NewMovieFromScrap", (PyCFunction)Qt_NewMovieFromScrap, 1,
"(long newMovieFlags) -> (Movie _rv)"},
{"NewTimeBase", (PyCFunction)Qt_NewTimeBase, 1,