cpython/Mac/Modules/qt/qtgen.py

1713 lines
40 KiB
Python
Raw Normal View History

1995-11-30 11:03:59 -04:00
# Generated from 'Sap:CodeWarrior7:Metrowerks CodeWarrior:MacOS Support:Headers:Universal Headers:Movies.h'
f = Function(OSErr, 'EnterMovies',
)
functions.append(f)
f = Function(void, 'ExitMovies',
)
functions.append(f)
f = Function(OSErr, 'GetMoviesError',
)
functions.append(f)
f = Function(void, 'ClearMoviesStickyError',
)
functions.append(f)
f = Function(OSErr, 'GetMoviesStickyError',
)
functions.append(f)
f = Method(void, 'MoviesTask',
(Movie, 'theMovie', InMode),
(long, 'maxMilliSecToUse', InMode),
)
1995-11-30 13:42:08 -04:00
Movie_methods.append(f)
1995-11-30 11:03:59 -04:00
f = Method(OSErr, 'PrerollMovie',
(Movie, 'theMovie', InMode),
(TimeValue, 'time', InMode),
(Fixed, 'Rate', InMode),
)
1995-11-30 13:42:08 -04:00
Movie_methods.append(f)
1995-11-30 11:03:59 -04:00
f = Method(OSErr, 'LoadMovieIntoRam',
(Movie, 'theMovie', InMode),
(TimeValue, 'time', InMode),
(TimeValue, 'duration', InMode),
(long, 'flags', InMode),
)
1995-11-30 13:42:08 -04:00
Movie_methods.append(f)
f = Method(OSErr, 'LoadTrackIntoRam',
(Track, 'theTrack', InMode),
(TimeValue, 'time', InMode),
(TimeValue, 'duration', InMode),
(long, 'flags', InMode),
)
Track_methods.append(f)
f = Method(OSErr, 'LoadMediaIntoRam',
(Media, 'theMedia', InMode),
(TimeValue, 'time', InMode),
(TimeValue, 'duration', InMode),
(long, 'flags', InMode),
)
Media_methods.append(f)
1995-11-30 11:03:59 -04:00
f = Method(void, 'SetMovieActive',
(Movie, 'theMovie', InMode),
(Boolean, 'active', InMode),
)
1995-11-30 13:42:08 -04:00
Movie_methods.append(f)
1995-11-30 11:03:59 -04:00
f = Method(Boolean, 'GetMovieActive',
(Movie, 'theMovie', InMode),
)
1995-11-30 13:42:08 -04:00
Movie_methods.append(f)
1995-11-30 11:03:59 -04:00
f = Method(void, 'StartMovie',
(Movie, 'theMovie', InMode),
)
1995-11-30 13:42:08 -04:00
Movie_methods.append(f)
1995-11-30 11:03:59 -04:00
f = Method(void, 'StopMovie',
(Movie, 'theMovie', InMode),
)
1995-11-30 13:42:08 -04:00
Movie_methods.append(f)
1995-11-30 11:03:59 -04:00
f = Method(void, 'GoToBeginningOfMovie',
(Movie, 'theMovie', InMode),
)
1995-11-30 13:42:08 -04:00
Movie_methods.append(f)
1995-11-30 11:03:59 -04:00
f = Method(void, 'GoToEndOfMovie',
(Movie, 'theMovie', InMode),
)
1995-11-30 13:42:08 -04:00
Movie_methods.append(f)
1995-11-30 11:03:59 -04:00
f = Method(Boolean, 'IsMovieDone',
(Movie, 'theMovie', InMode),
)
1995-11-30 13:42:08 -04:00
Movie_methods.append(f)
1995-11-30 11:03:59 -04:00
f = Method(Boolean, 'GetMoviePreviewMode',
(Movie, 'theMovie', InMode),
)
1995-11-30 13:42:08 -04:00
Movie_methods.append(f)
1995-11-30 11:03:59 -04:00
f = Method(void, 'SetMoviePreviewMode',
(Movie, 'theMovie', InMode),
(Boolean, 'usePreview', InMode),
)
1995-11-30 13:42:08 -04:00
Movie_methods.append(f)
1995-11-30 11:03:59 -04:00
f = Method(void, 'ShowMoviePoster',
(Movie, 'theMovie', InMode),
)
1995-11-30 13:42:08 -04:00
Movie_methods.append(f)
f = Method(TimeBase, 'GetMovieTimeBase',
(Movie, 'theMovie', InMode),
)
Movie_methods.append(f)
f = Method(Track, 'GetNextTrackForCompositing',
(Movie, 'theMovie', InMode),
(Track, 'theTrack', InMode),
)
Movie_methods.append(f)
f = Method(Track, 'GetPrevTrackForCompositing',
(Movie, 'theMovie', InMode),
(Track, 'theTrack', InMode),
)
Movie_methods.append(f)
1995-11-30 11:03:59 -04:00
f = Method(PicHandle, 'GetMoviePict',
(Movie, 'theMovie', InMode),
(TimeValue, 'time', InMode),
)
1995-11-30 13:42:08 -04:00
Movie_methods.append(f)
f = Method(PicHandle, 'GetTrackPict',
(Track, 'theTrack', InMode),
(TimeValue, 'time', InMode),
)
Track_methods.append(f)
1995-11-30 11:03:59 -04:00
f = Method(PicHandle, 'GetMoviePosterPict',
(Movie, 'theMovie', InMode),
)
1995-11-30 13:42:08 -04:00
Movie_methods.append(f)
1995-11-30 11:03:59 -04:00
f = Method(OSErr, 'UpdateMovie',
(Movie, 'theMovie', InMode),
)
1995-11-30 13:42:08 -04:00
Movie_methods.append(f)
1995-11-30 11:03:59 -04:00
f = Method(void, 'GetMovieBox',
(Movie, 'theMovie', InMode),
(Rect, 'boxRect', OutMode),
)
1995-11-30 13:42:08 -04:00
Movie_methods.append(f)
1995-11-30 11:03:59 -04:00
f = Method(void, 'SetMovieBox',
(Movie, 'theMovie', InMode),
(Rect_ptr, 'boxRect', InMode),
)
1995-11-30 13:42:08 -04:00
Movie_methods.append(f)
1995-11-30 11:03:59 -04:00
f = Method(RgnHandle, 'GetMovieDisplayClipRgn',
(Movie, 'theMovie', InMode),
)
1995-11-30 13:42:08 -04:00
Movie_methods.append(f)
1995-11-30 11:03:59 -04:00
f = Method(void, 'SetMovieDisplayClipRgn',
(Movie, 'theMovie', InMode),
(RgnHandle, 'theClip', InMode),
)
1995-11-30 13:42:08 -04:00
Movie_methods.append(f)
1995-11-30 11:03:59 -04:00
f = Method(RgnHandle, 'GetMovieClipRgn',
(Movie, 'theMovie', InMode),
)
1995-11-30 13:42:08 -04:00
Movie_methods.append(f)
1995-11-30 11:03:59 -04:00
f = Method(void, 'SetMovieClipRgn',
(Movie, 'theMovie', InMode),
(RgnHandle, 'theClip', InMode),
)
1995-11-30 13:42:08 -04:00
Movie_methods.append(f)
f = Method(RgnHandle, 'GetTrackClipRgn',
(Track, 'theTrack', InMode),
)
Track_methods.append(f)
f = Method(void, 'SetTrackClipRgn',
(Track, 'theTrack', InMode),
(RgnHandle, 'theClip', InMode),
)
Track_methods.append(f)
1995-11-30 11:03:59 -04:00
f = Method(RgnHandle, 'GetMovieDisplayBoundsRgn',
(Movie, 'theMovie', InMode),
)
1995-11-30 13:42:08 -04:00
Movie_methods.append(f)
f = Method(RgnHandle, 'GetTrackDisplayBoundsRgn',
(Track, 'theTrack', InMode),
)
Track_methods.append(f)
1995-11-30 11:03:59 -04:00
f = Method(RgnHandle, 'GetMovieBoundsRgn',
(Movie, 'theMovie', InMode),
)
1995-11-30 13:42:08 -04:00
Movie_methods.append(f)
f = Method(RgnHandle, 'GetTrackMovieBoundsRgn',
(Track, 'theTrack', InMode),
)
Track_methods.append(f)
f = Method(RgnHandle, 'GetTrackBoundsRgn',
(Track, 'theTrack', InMode),
)
Track_methods.append(f)
f = Method(PixMapHandle, 'GetTrackMatte',
(Track, 'theTrack', InMode),
)
Track_methods.append(f)
f = Method(void, 'SetTrackMatte',
(Track, 'theTrack', InMode),
(PixMapHandle, 'theMatte', InMode),
)
Track_methods.append(f)
f = Function(void, 'DisposeMatte',
(PixMapHandle, 'theMatte', InMode),
)
functions.append(f)
1995-11-30 11:03:59 -04:00
f = Function(Movie, 'NewMovie',
(long, 'flags', InMode),
)
functions.append(f)
f = Method(OSErr, 'PutMovieIntoHandle',
(Movie, 'theMovie', InMode),
(Handle, 'publicMovie', InMode),
)
1995-11-30 13:42:08 -04:00
Movie_methods.append(f)
1995-11-30 11:03:59 -04:00
f = Method(OSErr, 'PutMovieIntoDataFork',
(Movie, 'theMovie', InMode),
(short, 'fRefNum', InMode),
(long, 'offset', InMode),
(long, 'maxSize', InMode),
)
1995-11-30 13:42:08 -04:00
Movie_methods.append(f)
1995-11-30 11:03:59 -04:00
f = Method(TimeScale, 'GetMovieTimeScale',
(Movie, 'theMovie', InMode),
)
1995-11-30 13:42:08 -04:00
Movie_methods.append(f)
1995-11-30 11:03:59 -04:00
f = Method(void, 'SetMovieTimeScale',
(Movie, 'theMovie', InMode),
(TimeScale, 'timeScale', InMode),
)
1995-11-30 13:42:08 -04:00
Movie_methods.append(f)
1995-11-30 11:03:59 -04:00
f = Method(TimeValue, 'GetMovieDuration',
(Movie, 'theMovie', InMode),
)
1995-11-30 13:42:08 -04:00
Movie_methods.append(f)
1995-11-30 11:03:59 -04:00
f = Method(Fixed, 'GetMovieRate',
(Movie, 'theMovie', InMode),
)
1995-11-30 13:42:08 -04:00
Movie_methods.append(f)
1995-11-30 11:03:59 -04:00
f = Method(void, 'SetMovieRate',
(Movie, 'theMovie', InMode),
(Fixed, 'rate', InMode),
)
1995-11-30 13:42:08 -04:00
Movie_methods.append(f)
1995-11-30 11:03:59 -04:00
f = Method(Fixed, 'GetMoviePreferredRate',
(Movie, 'theMovie', InMode),
)
1995-11-30 13:42:08 -04:00
Movie_methods.append(f)
1995-11-30 11:03:59 -04:00
f = Method(void, 'SetMoviePreferredRate',
(Movie, 'theMovie', InMode),
(Fixed, 'rate', InMode),
)
1995-11-30 13:42:08 -04:00
Movie_methods.append(f)
1995-11-30 11:03:59 -04:00
f = Method(short, 'GetMoviePreferredVolume',
(Movie, 'theMovie', InMode),
)
1995-11-30 13:42:08 -04:00
Movie_methods.append(f)
1995-11-30 11:03:59 -04:00
f = Method(void, 'SetMoviePreferredVolume',
(Movie, 'theMovie', InMode),
(short, 'volume', InMode),
)
1995-11-30 13:42:08 -04:00
Movie_methods.append(f)
1995-11-30 11:03:59 -04:00
f = Method(short, 'GetMovieVolume',
(Movie, 'theMovie', InMode),
)
1995-11-30 13:42:08 -04:00
Movie_methods.append(f)
1995-11-30 11:03:59 -04:00
f = Method(void, 'SetMovieVolume',
(Movie, 'theMovie', InMode),
(short, 'volume', InMode),
)
1995-11-30 13:42:08 -04:00
Movie_methods.append(f)
1995-11-30 11:03:59 -04:00
f = Method(void, 'GetMoviePreviewTime',
(Movie, 'theMovie', InMode),
(TimeValue, 'previewTime', OutMode),
(TimeValue, 'previewDuration', OutMode),
)
1995-11-30 13:42:08 -04:00
Movie_methods.append(f)
1995-11-30 11:03:59 -04:00
f = Method(void, 'SetMoviePreviewTime',
(Movie, 'theMovie', InMode),
(TimeValue, 'previewTime', InMode),
(TimeValue, 'previewDuration', InMode),
)
1995-11-30 13:42:08 -04:00
Movie_methods.append(f)
1995-11-30 11:03:59 -04:00
f = Method(TimeValue, 'GetMoviePosterTime',
(Movie, 'theMovie', InMode),
)
1995-11-30 13:42:08 -04:00
Movie_methods.append(f)
1995-11-30 11:03:59 -04:00
f = Method(void, 'SetMoviePosterTime',
(Movie, 'theMovie', InMode),
(TimeValue, 'posterTime', InMode),
)
1995-11-30 13:42:08 -04:00
Movie_methods.append(f)
1995-11-30 11:03:59 -04:00
f = Method(void, 'GetMovieSelection',
(Movie, 'theMovie', InMode),
(TimeValue, 'selectionTime', OutMode),
(TimeValue, 'selectionDuration', OutMode),
)
1995-11-30 13:42:08 -04:00
Movie_methods.append(f)
1995-11-30 11:03:59 -04:00
f = Method(void, 'SetMovieSelection',
(Movie, 'theMovie', InMode),
(TimeValue, 'selectionTime', InMode),
(TimeValue, 'selectionDuration', InMode),
)
1995-11-30 13:42:08 -04:00
Movie_methods.append(f)
1995-11-30 11:03:59 -04:00
f = Method(void, 'SetMovieActiveSegment',
(Movie, 'theMovie', InMode),
(TimeValue, 'startTime', InMode),
(TimeValue, 'duration', InMode),
)
1995-11-30 13:42:08 -04:00
Movie_methods.append(f)
1995-11-30 11:03:59 -04:00
f = Method(void, 'GetMovieActiveSegment',
(Movie, 'theMovie', InMode),
(TimeValue, 'startTime', OutMode),
(TimeValue, 'duration', OutMode),
)
1995-11-30 13:42:08 -04:00
Movie_methods.append(f)
1995-11-30 11:03:59 -04:00
f = Method(void, 'SetMovieTimeValue',
(Movie, 'theMovie', InMode),
(TimeValue, 'newtime', InMode),
)
1995-11-30 13:42:08 -04:00
Movie_methods.append(f)
f = Method(UserData, 'GetMovieUserData',
(Movie, 'theMovie', InMode),
)
Movie_methods.append(f)
1995-11-30 11:03:59 -04:00
f = Method(long, 'GetMovieTrackCount',
(Movie, 'theMovie', InMode),
)
1995-11-30 13:42:08 -04:00
Movie_methods.append(f)
f = Method(Track, 'GetMovieTrack',
(Movie, 'theMovie', InMode),
(long, 'trackID', InMode),
)
Movie_methods.append(f)
f = Method(Track, 'GetMovieIndTrack',
(Movie, 'theMovie', InMode),
(long, 'index', InMode),
)
Movie_methods.append(f)
f = Method(Track, 'GetMovieIndTrackType',
(Movie, 'theMovie', InMode),
(long, 'index', InMode),
(OSType, 'trackType', InMode),
(long, 'flags', InMode),
)
Movie_methods.append(f)
f = Method(long, 'GetTrackID',
(Track, 'theTrack', InMode),
)
Track_methods.append(f)
f = Method(Movie, 'GetTrackMovie',
(Track, 'theTrack', InMode),
)
Track_methods.append(f)
f = Method(Track, 'NewMovieTrack',
(Movie, 'theMovie', InMode),
(Fixed, 'width', InMode),
(Fixed, 'height', InMode),
(short, 'trackVolume', InMode),
)
Movie_methods.append(f)
f = Method(Boolean, 'GetTrackEnabled',
(Track, 'theTrack', InMode),
)
Track_methods.append(f)
f = Method(void, 'SetTrackEnabled',
(Track, 'theTrack', InMode),
(Boolean, 'isEnabled', InMode),
)
Track_methods.append(f)
f = Method(long, 'GetTrackUsage',
(Track, 'theTrack', InMode),
)
Track_methods.append(f)
f = Method(void, 'SetTrackUsage',
(Track, 'theTrack', InMode),
(long, 'usage', InMode),
)
Track_methods.append(f)
f = Method(TimeValue, 'GetTrackDuration',
(Track, 'theTrack', InMode),
)
Track_methods.append(f)
f = Method(TimeValue, 'GetTrackOffset',
(Track, 'theTrack', InMode),
)
Track_methods.append(f)
f = Method(void, 'SetTrackOffset',
(Track, 'theTrack', InMode),
(TimeValue, 'movieOffsetTime', InMode),
)
Track_methods.append(f)
f = Method(short, 'GetTrackLayer',
(Track, 'theTrack', InMode),
)
Track_methods.append(f)
f = Method(void, 'SetTrackLayer',
(Track, 'theTrack', InMode),
(short, 'layer', InMode),
)
Track_methods.append(f)
f = Method(Track, 'GetTrackAlternate',
(Track, 'theTrack', InMode),
)
Track_methods.append(f)
f = Method(void, 'SetTrackAlternate',
(Track, 'theTrack', InMode),
(Track, 'alternateT', InMode),
)
Track_methods.append(f)
1995-11-30 11:03:59 -04:00
f = Method(void, 'SetAutoTrackAlternatesEnabled',
(Movie, 'theMovie', InMode),
(Boolean, 'enable', InMode),
)
1995-11-30 13:42:08 -04:00
Movie_methods.append(f)
1995-11-30 11:03:59 -04:00
f = Method(void, 'SelectMovieAlternates',
(Movie, 'theMovie', InMode),
)
1995-11-30 13:42:08 -04:00
Movie_methods.append(f)
f = Method(short, 'GetTrackVolume',
(Track, 'theTrack', InMode),
)
Track_methods.append(f)
f = Method(void, 'SetTrackVolume',
(Track, 'theTrack', InMode),
(short, 'volume', InMode),
)
Track_methods.append(f)
f = Method(void, 'GetTrackDimensions',
(Track, 'theTrack', InMode),
(Fixed, 'width', OutMode),
(Fixed, 'height', OutMode),
)
Track_methods.append(f)
f = Method(void, 'SetTrackDimensions',
(Track, 'theTrack', InMode),
(Fixed, 'width', InMode),
(Fixed, 'height', InMode),
)
Track_methods.append(f)
f = Method(UserData, 'GetTrackUserData',
(Track, 'theTrack', InMode),
)
Track_methods.append(f)
f = Method(Media, 'NewTrackMedia',
(Track, 'theTrack', InMode),
(OSType, 'mediaType', InMode),
(TimeScale, 'timeScale', InMode),
(Handle, 'dataRef', InMode),
(OSType, 'dataRefType', InMode),
)
Track_methods.append(f)
f = Method(Media, 'GetTrackMedia',
(Track, 'theTrack', InMode),
)
Track_methods.append(f)
f = Method(Track, 'GetMediaTrack',
(Media, 'theMedia', InMode),
)
Media_methods.append(f)
f = Method(TimeScale, 'GetMediaTimeScale',
(Media, 'theMedia', InMode),
)
Media_methods.append(f)
f = Method(void, 'SetMediaTimeScale',
(Media, 'theMedia', InMode),
(TimeScale, 'timeScale', InMode),
)
Media_methods.append(f)
f = Method(TimeValue, 'GetMediaDuration',
(Media, 'theMedia', InMode),
)
Media_methods.append(f)
f = Method(short, 'GetMediaLanguage',
(Media, 'theMedia', InMode),
)
Media_methods.append(f)
f = Method(void, 'SetMediaLanguage',
(Media, 'theMedia', InMode),
(short, 'language', InMode),
)
Media_methods.append(f)
f = Method(short, 'GetMediaQuality',
(Media, 'theMedia', InMode),
)
Media_methods.append(f)
f = Method(void, 'SetMediaQuality',
(Media, 'theMedia', InMode),
(short, 'quality', InMode),
)
Media_methods.append(f)
f = Method(void, 'GetMediaHandlerDescription',
(Media, 'theMedia', InMode),
(OSType, 'mediaType', OutMode),
(Str255, 'creatorName', InMode),
(OSType, 'creatorManufacturer', OutMode),
)
Media_methods.append(f)
f = Method(UserData, 'GetMediaUserData',
(Media, 'theMedia', InMode),
)
Media_methods.append(f)
f = Method(MediaHandler, 'GetMediaHandler',
(Media, 'theMedia', InMode),
)
Media_methods.append(f)
f = Method(OSErr, 'SetMediaHandler',
(Media, 'theMedia', InMode),
(MediaHandlerComponent, 'mH', InMode),
)
Media_methods.append(f)
f = Method(OSErr, 'BeginMediaEdits',
(Media, 'theMedia', InMode),
)
Media_methods.append(f)
f = Method(OSErr, 'EndMediaEdits',
(Media, 'theMedia', InMode),
)
Media_methods.append(f)
f = Method(OSErr, 'SetMediaDefaultDataRefIndex',
(Media, 'theMedia', InMode),
(short, 'index', InMode),
)
Media_methods.append(f)
f = Method(void, 'GetMediaDataHandlerDescription',
(Media, 'theMedia', InMode),
(short, 'index', InMode),
(OSType, 'dhType', OutMode),
(Str255, 'creatorName', InMode),
(OSType, 'creatorManufacturer', OutMode),
)
Media_methods.append(f)
f = Method(DataHandler, 'GetMediaDataHandler',
(Media, 'theMedia', InMode),
(short, 'index', InMode),
)
Media_methods.append(f)
f = Method(OSErr, 'SetMediaDataHandler',
(Media, 'theMedia', InMode),
(short, 'index', InMode),
(DataHandlerComponent, 'dataHandler', InMode),
)
Media_methods.append(f)
f = Function(Component, 'GetDataHandler',
(Handle, 'dataRef', InMode),
(OSType, 'dataHandlerSubType', InMode),
(long, 'flags', InMode),
)
functions.append(f)
f = Method(long, 'GetMediaSampleDescriptionCount',
(Media, 'theMedia', InMode),
)
Media_methods.append(f)
f = Method(void, 'GetMediaSampleDescription',
(Media, 'theMedia', InMode),
(long, 'index', InMode),
(SampleDescriptionHandle, 'descH', InMode),
)
Media_methods.append(f)
f = Method(OSErr, 'SetMediaSampleDescription',
(Media, 'theMedia', InMode),
(long, 'index', InMode),
(SampleDescriptionHandle, 'descH', InMode),
)
Media_methods.append(f)
f = Method(long, 'GetMediaSampleCount',
(Media, 'theMedia', InMode),
)
Media_methods.append(f)
f = Method(void, 'SampleNumToMediaTime',
(Media, 'theMedia', InMode),
(long, 'logicalSampleNum', InMode),
(TimeValue, 'sampleTime', OutMode),
(TimeValue, 'sampleDuration', OutMode),
)
Media_methods.append(f)
f = Method(void, 'MediaTimeToSampleNum',
(Media, 'theMedia', InMode),
(TimeValue, 'time', InMode),
(long, 'sampleNum', OutMode),
(TimeValue, 'sampleTime', OutMode),
(TimeValue, 'sampleDuration', OutMode),
)
Media_methods.append(f)
f = Method(OSErr, 'AddMediaSample',
(Media, 'theMedia', InMode),
(Handle, 'dataIn', InMode),
(long, 'inOffset', InMode),
(unsigned_long, 'size', InMode),
(TimeValue, 'durationPerSample', InMode),
(SampleDescriptionHandle, 'sampleDescriptionH', InMode),
(long, 'numberOfSamples', InMode),
(short, 'sampleFlags', InMode),
(TimeValue, 'sampleTime', OutMode),
)
Media_methods.append(f)
f = Method(OSErr, 'AddMediaSampleReference',
(Media, 'theMedia', InMode),
(long, 'dataOffset', InMode),
(unsigned_long, 'size', InMode),
(TimeValue, 'durationPerSample', InMode),
(SampleDescriptionHandle, 'sampleDescriptionH', InMode),
(long, 'numberOfSamples', InMode),
(short, 'sampleFlags', InMode),
(TimeValue, 'sampleTime', OutMode),
)
Media_methods.append(f)
f = Method(OSErr, 'GetMediaSample',
(Media, 'theMedia', InMode),
(Handle, 'dataOut', InMode),
(long, 'maxSizeToGrow', InMode),
(long, 'size', OutMode),
(TimeValue, 'time', InMode),
(TimeValue, 'sampleTime', OutMode),
(TimeValue, 'durationPerSample', OutMode),
(SampleDescriptionHandle, 'sampleDescriptionH', InMode),
(long, 'sampleDescriptionIndex', OutMode),
(long, 'maxNumberOfSamples', InMode),
(long, 'numberOfSamples', OutMode),
(short, 'sampleFlags', OutMode),
)
Media_methods.append(f)
f = Method(OSErr, 'GetMediaSampleReference',
(Media, 'theMedia', InMode),
(long, 'dataOffset', OutMode),
(long, 'size', OutMode),
(TimeValue, 'time', InMode),
(TimeValue, 'sampleTime', OutMode),
(TimeValue, 'durationPerSample', OutMode),
(SampleDescriptionHandle, 'sampleDescriptionH', InMode),
(long, 'sampleDescriptionIndex', OutMode),
(long, 'maxNumberOfSamples', InMode),
(long, 'numberOfSamples', OutMode),
(short, 'sampleFlags', OutMode),
)
Media_methods.append(f)
f = Method(OSErr, 'SetMediaPreferredChunkSize',
(Media, 'theMedia', InMode),
(long, 'maxChunkSize', InMode),
)
Media_methods.append(f)
f = Method(OSErr, 'GetMediaPreferredChunkSize',
(Media, 'theMedia', InMode),
(long, 'maxChunkSize', OutMode),
)
Media_methods.append(f)
f = Method(OSErr, 'SetMediaShadowSync',
(Media, 'theMedia', InMode),
(long, 'frameDiffSampleNum', InMode),
(long, 'syncSampleNum', InMode),
)
Media_methods.append(f)
f = Method(OSErr, 'GetMediaShadowSync',
(Media, 'theMedia', InMode),
(long, 'frameDiffSampleNum', InMode),
(long, 'syncSampleNum', OutMode),
)
Media_methods.append(f)
f = Method(OSErr, 'InsertMediaIntoTrack',
(Track, 'theTrack', InMode),
(TimeValue, 'trackStart', InMode),
(TimeValue, 'mediaTime', InMode),
(TimeValue, 'mediaDuration', InMode),
(Fixed, 'mediaRate', InMode),
)
Track_methods.append(f)
f = Method(OSErr, 'InsertTrackSegment',
(Track, 'srcTrack', InMode),
(Track, 'dstTrack', InMode),
(TimeValue, 'srcIn', InMode),
(TimeValue, 'srcDuration', InMode),
(TimeValue, 'dstIn', InMode),
)
Track_methods.append(f)
1995-11-30 11:03:59 -04:00
f = Method(OSErr, 'InsertMovieSegment',
(Movie, 'srcMovie', InMode),
(Movie, 'dstMovie', InMode),
(TimeValue, 'srcIn', InMode),
(TimeValue, 'srcDuration', InMode),
(TimeValue, 'dstIn', InMode),
)
1995-11-30 13:42:08 -04:00
Movie_methods.append(f)
f = Method(OSErr, 'InsertEmptyTrackSegment',
(Track, 'dstTrack', InMode),
(TimeValue, 'dstIn', InMode),
(TimeValue, 'dstDuration', InMode),
)
Track_methods.append(f)
1995-11-30 11:03:59 -04:00
f = Method(OSErr, 'InsertEmptyMovieSegment',
(Movie, 'dstMovie', InMode),
(TimeValue, 'dstIn', InMode),
(TimeValue, 'dstDuration', InMode),
)
1995-11-30 13:42:08 -04:00
Movie_methods.append(f)
f = Method(OSErr, 'DeleteTrackSegment',
(Track, 'theTrack', InMode),
(TimeValue, 'startTime', InMode),
(TimeValue, 'duration', InMode),
)
Track_methods.append(f)
1995-11-30 11:03:59 -04:00
f = Method(OSErr, 'DeleteMovieSegment',
(Movie, 'theMovie', InMode),
(TimeValue, 'startTime', InMode),
(TimeValue, 'duration', InMode),
)
1995-11-30 13:42:08 -04:00
Movie_methods.append(f)
f = Method(OSErr, 'ScaleTrackSegment',
(Track, 'theTrack', InMode),
(TimeValue, 'startTime', InMode),
(TimeValue, 'oldDuration', InMode),
(TimeValue, 'newDuration', InMode),
)
Track_methods.append(f)
1995-11-30 11:03:59 -04:00
f = Method(OSErr, 'ScaleMovieSegment',
(Movie, 'theMovie', InMode),
(TimeValue, 'startTime', InMode),
(TimeValue, 'oldDuration', InMode),
(TimeValue, 'newDuration', InMode),
)
1995-11-30 13:42:08 -04:00
Movie_methods.append(f)
1995-11-30 11:03:59 -04:00
f = Method(Movie, 'CutMovieSelection',
(Movie, 'theMovie', InMode),
)
1995-11-30 13:42:08 -04:00
Movie_methods.append(f)
1995-11-30 11:03:59 -04:00
f = Method(Movie, 'CopyMovieSelection',
(Movie, 'theMovie', InMode),
)
1995-11-30 13:42:08 -04:00
Movie_methods.append(f)
1995-11-30 11:03:59 -04:00
f = Method(void, 'PasteMovieSelection',
(Movie, 'theMovie', InMode),
(Movie, 'src', InMode),
)
1995-11-30 13:42:08 -04:00
Movie_methods.append(f)
1995-11-30 11:03:59 -04:00
f = Method(void, 'AddMovieSelection',
(Movie, 'theMovie', InMode),
(Movie, 'src', InMode),
)
1995-11-30 13:42:08 -04:00
Movie_methods.append(f)
1995-11-30 11:03:59 -04:00
f = Method(void, 'ClearMovieSelection',
(Movie, 'theMovie', InMode),
)
1995-11-30 13:42:08 -04:00
Movie_methods.append(f)
1995-11-30 11:03:59 -04:00
f = Function(OSErr, 'PasteHandleIntoMovie',
(Handle, 'h', InMode),
(OSType, 'handleType', InMode),
(Movie, 'theMovie', InMode),
(long, 'flags', InMode),
(ComponentInstance, 'userComp', InMode),
)
functions.append(f)
1995-11-30 13:42:08 -04:00
f = Method(OSErr, 'PutMovieIntoTypedHandle',
(Movie, 'theMovie', InMode),
(Track, 'targetTrack', InMode),
(OSType, 'handleType', InMode),
(Handle, 'publicMovie', InMode),
(TimeValue, 'start', InMode),
(TimeValue, 'dur', InMode),
(long, 'flags', InMode),
(ComponentInstance, 'userComp', InMode),
)
Movie_methods.append(f)
f = Method(Component, 'IsScrapMovie',
(Track, 'targetTrack', InMode),
)
Track_methods.append(f)
f = Method(OSErr, 'CopyTrackSettings',
(Track, 'srcTrack', InMode),
(Track, 'dstTrack', InMode),
)
Track_methods.append(f)
1995-11-30 11:03:59 -04:00
f = Method(OSErr, 'CopyMovieSettings',
(Movie, 'srcMovie', InMode),
(Movie, 'dstMovie', InMode),
)
1995-11-30 13:42:08 -04:00
Movie_methods.append(f)
f = Method(OSErr, 'AddEmptyTrackToMovie',
(Track, 'srcTrack', InMode),
(Movie, 'dstMovie', InMode),
(Handle, 'dataRef', InMode),
(OSType, 'dataRefType', InMode),
(Track, 'dstTrack', OutMode),
)
Track_methods.append(f)
f = Method(OSErr, 'AddTrackReference',
(Track, 'theTrack', InMode),
(Track, 'refTrack', InMode),
(OSType, 'refType', InMode),
(long, 'addedIndex', OutMode),
)
Track_methods.append(f)
f = Method(OSErr, 'DeleteTrackReference',
(Track, 'theTrack', InMode),
(OSType, 'refType', InMode),
(long, 'index', InMode),
)
Track_methods.append(f)
f = Method(OSErr, 'SetTrackReference',
(Track, 'theTrack', InMode),
(Track, 'refTrack', InMode),
(OSType, 'refType', InMode),
(long, 'index', InMode),
)
Track_methods.append(f)
f = Method(Track, 'GetTrackReference',
(Track, 'theTrack', InMode),
(OSType, 'refType', InMode),
(long, 'index', InMode),
)
Track_methods.append(f)
f = Method(OSType, 'GetNextTrackReferenceType',
(Track, 'theTrack', InMode),
(OSType, 'refType', InMode),
)
Track_methods.append(f)
f = Method(long, 'GetTrackReferenceCount',
(Track, 'theTrack', InMode),
(OSType, 'refType', InMode),
)
Track_methods.append(f)
f = Method(OSErr, 'ConvertMovieToFile',
(Movie, 'theMovie', InMode),
(Track, 'onlyTrack', InMode),
(FSSpec_ptr, 'outputFile', InMode),
(OSType, 'fileType', InMode),
(OSType, 'creator', InMode),
(ScriptCode, 'scriptTag', InMode),
(short, 'resID', OutMode),
(long, 'flags', InMode),
(ComponentInstance, 'userComp', InMode),
)
Movie_methods.append(f)
f = Function(TimeValue, 'TrackTimeToMediaTime',
(TimeValue, 'value', InMode),
(Track, 'theTrack', InMode),
)
functions.append(f)
f = Method(Fixed, 'GetTrackEditRate',
(Track, 'theTrack', InMode),
(TimeValue, 'atTime', InMode),
)
Track_methods.append(f)
1995-11-30 11:03:59 -04:00
f = Method(long, 'GetMovieDataSize',
(Movie, 'theMovie', InMode),
(TimeValue, 'startTime', InMode),
(TimeValue, 'duration', InMode),
)
1995-11-30 13:42:08 -04:00
Movie_methods.append(f)
f = Method(long, 'GetTrackDataSize',
(Track, 'theTrack', InMode),
(TimeValue, 'startTime', InMode),
(TimeValue, 'duration', InMode),
)
Track_methods.append(f)
f = Method(long, 'GetMediaDataSize',
(Media, 'theMedia', InMode),
(TimeValue, 'startTime', InMode),
(TimeValue, 'duration', InMode),
)
Media_methods.append(f)
1995-11-30 11:03:59 -04:00
f = Method(Boolean, 'PtInMovie',
(Movie, 'theMovie', InMode),
(Point, 'pt', InMode),
)
1995-11-30 13:42:08 -04:00
Movie_methods.append(f)
f = Method(Boolean, 'PtInTrack',
(Track, 'theTrack', InMode),
(Point, 'pt', InMode),
)
Track_methods.append(f)
1995-11-30 11:03:59 -04:00
f = Method(void, 'SetMovieLanguage',
(Movie, 'theMovie', InMode),
(long, 'language', InMode),
)
1995-11-30 13:42:08 -04:00
Movie_methods.append(f)
f = Method(OSErr, 'GetUserData',
(UserData, 'theUserData', InMode),
(Handle, 'data', InMode),
(OSType, 'udType', InMode),
(long, 'index', InMode),
)
UserData_methods.append(f)
f = Method(OSErr, 'AddUserData',
(UserData, 'theUserData', InMode),
(Handle, 'data', InMode),
(OSType, 'udType', InMode),
)
UserData_methods.append(f)
f = Method(OSErr, 'RemoveUserData',
(UserData, 'theUserData', InMode),
(OSType, 'udType', InMode),
(long, 'index', InMode),
)
UserData_methods.append(f)
f = Method(short, 'CountUserDataType',
(UserData, 'theUserData', InMode),
(OSType, 'udType', InMode),
)
UserData_methods.append(f)
f = Method(long, 'GetNextUserDataType',
(UserData, 'theUserData', InMode),
(OSType, 'udType', InMode),
)
UserData_methods.append(f)
f = Method(OSErr, 'AddUserDataText',
(UserData, 'theUserData', InMode),
(Handle, 'data', InMode),
(OSType, 'udType', InMode),
(long, 'index', InMode),
(short, 'itlRegionTag', InMode),
)
UserData_methods.append(f)
f = Method(OSErr, 'GetUserDataText',
(UserData, 'theUserData', InMode),
(Handle, 'data', InMode),
(OSType, 'udType', InMode),
(long, 'index', InMode),
(short, 'itlRegionTag', InMode),
)
UserData_methods.append(f)
f = Method(OSErr, 'RemoveUserDataText',
(UserData, 'theUserData', InMode),
(OSType, 'udType', InMode),
(long, 'index', InMode),
(short, 'itlRegionTag', InMode),
)
UserData_methods.append(f)
f = Function(OSErr, 'NewUserData',
(UserData, 'theUserData', OutMode),
)
functions.append(f)
f = Function(OSErr, 'NewUserDataFromHandle',
(Handle, 'h', InMode),
(UserData, 'theUserData', OutMode),
)
functions.append(f)
f = Method(OSErr, 'PutUserDataIntoHandle',
(UserData, 'theUserData', InMode),
(Handle, 'h', InMode),
)
UserData_methods.append(f)
f = Method(void, 'GetMediaNextInterestingTime',
(Media, 'theMedia', InMode),
(short, 'interestingTimeFlags', InMode),
(TimeValue, 'time', InMode),
(Fixed, 'rate', InMode),
(TimeValue, 'interestingTime', OutMode),
(TimeValue, 'interestingDuration', OutMode),
)
Media_methods.append(f)
f = Method(void, 'GetTrackNextInterestingTime',
(Track, 'theTrack', InMode),
(short, 'interestingTimeFlags', InMode),
(TimeValue, 'time', InMode),
(Fixed, 'rate', InMode),
(TimeValue, 'interestingTime', OutMode),
(TimeValue, 'interestingDuration', OutMode),
)
Track_methods.append(f)
1995-11-30 11:03:59 -04:00
f = Method(void, 'GetMovieNextInterestingTime',
(Movie, 'theMovie', InMode),
(short, 'interestingTimeFlags', InMode),
(short, 'numMediaTypes', InMode),
(OSType_ptr, 'whichMediaTypes', InMode),
(TimeValue, 'time', InMode),
(Fixed, 'rate', InMode),
(TimeValue, 'interestingTime', OutMode),
(TimeValue, 'interestingDuration', OutMode),
)
1995-11-30 13:42:08 -04:00
Movie_methods.append(f)
1995-11-30 11:03:59 -04:00
f = Function(OSErr, 'CreateMovieFile',
(FSSpec_ptr, 'fileSpec', InMode),
(OSType, 'creator', InMode),
(ScriptCode, 'scriptTag', InMode),
(long, 'createMovieFileFlags', InMode),
(short, 'resRefNum', OutMode),
(Movie, 'newmovie', OutMode),
)
functions.append(f)
f = Function(OSErr, 'OpenMovieFile',
(FSSpec_ptr, 'fileSpec', InMode),
(short, 'resRefNum', OutMode),
(SInt8, 'permission', InMode),
)
functions.append(f)
f = Function(OSErr, 'CloseMovieFile',
(short, 'resRefNum', InMode),
)
functions.append(f)
f = Function(OSErr, 'DeleteMovieFile',
(FSSpec_ptr, 'fileSpec', InMode),
)
functions.append(f)
f = Function(OSErr, 'NewMovieFromFile',
(Movie, 'theMovie', OutMode),
(short, 'resRefNum', InMode),
(dummyshortptr, 'resId', InMode),
(dummyStringPtr, 'resName', InMode),
1995-11-30 11:03:59 -04:00
(short, 'newMovieFlags', InMode),
(Boolean, 'dataRefWasChanged', OutMode),
)
functions.append(f)
f = Function(OSErr, 'NewMovieFromHandle',
(Movie, 'theMovie', OutMode),
(Handle, 'h', InMode),
(short, 'newMovieFlags', InMode),
(Boolean, 'dataRefWasChanged', OutMode),
)
functions.append(f)
f = Function(OSErr, 'NewMovieFromDataFork',
(Movie, 'theMovie', OutMode),
(short, 'fRefNum', InMode),
(long, 'fileOffset', InMode),
(short, 'newMovieFlags', InMode),
(Boolean, 'dataRefWasChanged', OutMode),
)
functions.append(f)
f = Method(OSErr, 'AddMovieResource',
(Movie, 'theMovie', InMode),
(short, 'resRefNum', InMode),
(short, 'resId', OutMode),
(ConstStr255Param, 'resName', InMode),
)
1995-11-30 13:42:08 -04:00
Movie_methods.append(f)
1995-11-30 11:03:59 -04:00
f = Method(OSErr, 'UpdateMovieResource',
(Movie, 'theMovie', InMode),
(short, 'resRefNum', InMode),
(short, 'resId', InMode),
(ConstStr255Param, 'resName', InMode),
)
1995-11-30 13:42:08 -04:00
Movie_methods.append(f)
1995-11-30 11:03:59 -04:00
f = Function(OSErr, 'RemoveMovieResource',
(short, 'resRefNum', InMode),
(short, 'resId', InMode),
)
functions.append(f)
f = Method(Boolean, 'HasMovieChanged',
(Movie, 'theMovie', InMode),
)
1995-11-30 13:42:08 -04:00
Movie_methods.append(f)
1995-11-30 11:03:59 -04:00
f = Method(void, 'ClearMovieChanged',
(Movie, 'theMovie', InMode),
)
1995-11-30 13:42:08 -04:00
Movie_methods.append(f)
1995-11-30 11:03:59 -04:00
f = Method(OSErr, 'SetMovieDefaultDataRef',
(Movie, 'theMovie', InMode),
(Handle, 'dataRef', InMode),
(OSType, 'dataRefType', InMode),
)
1995-11-30 13:42:08 -04:00
Movie_methods.append(f)
1995-11-30 11:03:59 -04:00
f = Method(OSErr, 'GetMovieDefaultDataRef',
(Movie, 'theMovie', InMode),
(Handle, 'dataRef', OutMode),
(OSType, 'dataRefType', OutMode),
)
1995-11-30 13:42:08 -04:00
Movie_methods.append(f)
1995-11-30 11:03:59 -04:00
f = Method(OSErr, 'SetMovieColorTable',
(Movie, 'theMovie', InMode),
(CTabHandle, 'ctab', InMode),
)
1995-11-30 13:42:08 -04:00
Movie_methods.append(f)
1995-11-30 11:03:59 -04:00
f = Method(OSErr, 'GetMovieColorTable',
(Movie, 'theMovie', InMode),
(CTabHandle, 'ctab', OutMode),
)
1995-11-30 13:42:08 -04:00
Movie_methods.append(f)
1995-11-30 11:03:59 -04:00
f = Method(void, 'FlattenMovie',
(Movie, 'theMovie', InMode),
(long, 'movieFlattenFlags', InMode),
(FSSpec_ptr, 'theFile', InMode),
(OSType, 'creator', InMode),
(ScriptCode, 'scriptTag', InMode),
(long, 'createMovieFileFlags', InMode),
(short, 'resId', OutMode),
(ConstStr255Param, 'resName', InMode),
)
1995-11-30 13:42:08 -04:00
Movie_methods.append(f)
1995-11-30 11:03:59 -04:00
f = Method(Movie, 'FlattenMovieData',
(Movie, 'theMovie', InMode),
(long, 'movieFlattenFlags', InMode),
(FSSpec_ptr, 'theFile', InMode),
(OSType, 'creator', InMode),
(ScriptCode, 'scriptTag', InMode),
(long, 'createMovieFileFlags', InMode),
)
1995-11-30 13:42:08 -04:00
Movie_methods.append(f)
1995-11-30 11:03:59 -04:00
f = Function(HandlerError, 'GetVideoMediaGraphicsMode',
(MediaHandler, 'mh', InMode),
(long, 'graphicsMode', OutMode),
(RGBColor, 'opColor', OutMode),
)
functions.append(f)
f = Function(HandlerError, 'SetVideoMediaGraphicsMode',
(MediaHandler, 'mh', InMode),
(long, 'graphicsMode', InMode),
(RGBColor_ptr, 'opColor', InMode),
)
functions.append(f)
f = Function(HandlerError, 'GetSoundMediaBalance',
(MediaHandler, 'mh', InMode),
(short, 'balance', OutMode),
)
functions.append(f)
f = Function(HandlerError, 'SetSoundMediaBalance',
(MediaHandler, 'mh', InMode),
(short, 'balance', InMode),
)
functions.append(f)
f = Function(ComponentResult, 'FindNextText',
(MediaHandler, 'mh', InMode),
(Ptr, 'text', InMode),
(long, 'size', InMode),
(short, 'findFlags', InMode),
(TimeValue, 'startTime', InMode),
(TimeValue, 'foundTime', OutMode),
(TimeValue, 'foundDuration', OutMode),
(long, 'offset', OutMode),
)
functions.append(f)
1995-11-30 13:42:08 -04:00
f = Method(OSErr, 'MovieSearchText',
(Movie, 'theMovie', InMode),
(Ptr, 'text', InMode),
(long, 'size', InMode),
(long, 'searchFlags', InMode),
(Track, 'searchTrack', OutMode),
(TimeValue, 'searchTime', OutMode),
(long, 'searchOffset', OutMode),
1995-11-30 11:03:59 -04:00
)
1995-11-30 13:42:08 -04:00
Movie_methods.append(f)
1995-11-30 11:03:59 -04:00
f = Method(void, 'GetPosterBox',
(Movie, 'theMovie', InMode),
(Rect, 'boxRect', OutMode),
)
1995-11-30 13:42:08 -04:00
Movie_methods.append(f)
1995-11-30 11:03:59 -04:00
f = Method(void, 'SetPosterBox',
(Movie, 'theMovie', InMode),
(Rect_ptr, 'boxRect', InMode),
)
1995-11-30 13:42:08 -04:00
Movie_methods.append(f)
1995-11-30 11:03:59 -04:00
f = Method(RgnHandle, 'GetMovieSegmentDisplayBoundsRgn',
(Movie, 'theMovie', InMode),
(TimeValue, 'time', InMode),
(TimeValue, 'duration', InMode),
)
1995-11-30 13:42:08 -04:00
Movie_methods.append(f)
f = Method(RgnHandle, 'GetTrackSegmentDisplayBoundsRgn',
(Track, 'theTrack', InMode),
(TimeValue, 'time', InMode),
(TimeValue, 'duration', InMode),
)
Track_methods.append(f)
f = Method(ComponentResult, 'GetTrackStatus',
(Track, 'theTrack', InMode),
)
Track_methods.append(f)
f = Method(ComponentResult, 'GetMovieStatus',
(Movie, 'theMovie', InMode),
(Track, 'firstProblemTrack', OutMode),
)
Movie_methods.append(f)
1995-11-30 11:03:59 -04:00
f = Method(MovieController, 'NewMovieController',
1995-11-30 11:03:59 -04:00
(Movie, 'theMovie', InMode),
(Rect_ptr, 'movieRect', InMode),
(long, 'someFlags', InMode),
)
1995-11-30 13:42:08 -04:00
Movie_methods.append(f)
1995-11-30 11:03:59 -04:00
f = Method(OSErr, 'PutMovieOnScrap',
(Movie, 'theMovie', InMode),
(long, 'movieScrapFlags', InMode),
)
1995-11-30 13:42:08 -04:00
Movie_methods.append(f)
1995-11-30 11:03:59 -04:00
f = Function(Movie, 'NewMovieFromScrap',
(long, 'newMovieFlags', InMode),
)
functions.append(f)
1995-11-30 13:42:08 -04:00
f = Method(OSErr, 'GetMediaDataRef',
(Media, 'theMedia', InMode),
(short, 'index', InMode),
(Handle, 'dataRef', OutMode),
(OSType, 'dataRefType', OutMode),
(long, 'dataRefAttributes', OutMode),
)
Media_methods.append(f)
f = Method(OSErr, 'SetMediaDataRef',
(Media, 'theMedia', InMode),
(short, 'index', InMode),
(Handle, 'dataRef', InMode),
(OSType, 'dataRefType', InMode),
)
Media_methods.append(f)
f = Method(OSErr, 'SetMediaDataRefAttributes',
(Media, 'theMedia', InMode),
(short, 'index', InMode),
(long, 'dataRefAttributes', InMode),
)
Media_methods.append(f)
f = Method(OSErr, 'AddMediaDataRef',
(Media, 'theMedia', InMode),
(short, 'index', OutMode),
(Handle, 'dataRef', InMode),
(OSType, 'dataRefType', InMode),
)
Media_methods.append(f)
f = Method(OSErr, 'GetMediaDataRefCount',
(Media, 'theMedia', InMode),
(short, 'count', OutMode),
)
Media_methods.append(f)
1995-11-30 11:03:59 -04:00
f = Method(void, 'SetMoviePlayHints',
(Movie, 'theMovie', InMode),
(long, 'flags', InMode),
(long, 'flagsMask', InMode),
)
1995-11-30 13:42:08 -04:00
Movie_methods.append(f)
f = Method(void, 'SetMediaPlayHints',
(Media, 'theMedia', InMode),
(long, 'flags', InMode),
(long, 'flagsMask', InMode),
)
Media_methods.append(f)
f = Method(void, 'SetTrackLoadSettings',
(Track, 'theTrack', InMode),
(TimeValue, 'preloadTime', InMode),
(TimeValue, 'preloadDuration', InMode),
(long, 'preloadFlags', InMode),
(long, 'defaultHints', InMode),
)
Track_methods.append(f)
f = Method(void, 'GetTrackLoadSettings',
(Track, 'theTrack', InMode),
(TimeValue, 'preloadTime', OutMode),
(TimeValue, 'preloadDuration', OutMode),
(long, 'preloadFlags', OutMode),
(long, 'defaultHints', OutMode),
)
Track_methods.append(f)
1995-11-30 11:03:59 -04:00
f = Method(ComponentResult, 'MCSetMovie',
1995-11-30 11:03:59 -04:00
(MovieController, 'mc', InMode),
(Movie, 'theMovie', InMode),
(WindowPtr, 'movieWindow', InMode),
(Point, 'where', InMode),
)
MovieController_methods.append(f)
1995-11-30 11:03:59 -04:00
f = Method(Movie, 'MCGetIndMovie',
1995-11-30 11:03:59 -04:00
(MovieController, 'mc', InMode),
(short, 'index', InMode),
)
MovieController_methods.append(f)
1995-11-30 11:03:59 -04:00
f = Method(ComponentResult, 'MCRemoveMovie',
1995-11-30 11:03:59 -04:00
(MovieController, 'mc', InMode),
)
MovieController_methods.append(f)
1995-11-30 11:03:59 -04:00
f = Method(ComponentResult, 'MCIsPlayerEvent',
1995-11-30 11:03:59 -04:00
(MovieController, 'mc', InMode),
(EventRecord_ptr, 'e', InMode),
)
MovieController_methods.append(f)
f = Method(ComponentResult, 'MCDoAction',
(MovieController, 'mc', InMode),
(short, 'action', InMode),
(mcactionparams, 'params', InMode),
)
MovieController_methods.append(f)
1995-11-30 11:03:59 -04:00
f = Method(ComponentResult, 'MCSetControllerAttached',
1995-11-30 11:03:59 -04:00
(MovieController, 'mc', InMode),
(Boolean, 'attach', InMode),
)
MovieController_methods.append(f)
1995-11-30 11:03:59 -04:00
f = Method(ComponentResult, 'MCIsControllerAttached',
1995-11-30 11:03:59 -04:00
(MovieController, 'mc', InMode),
)
MovieController_methods.append(f)
1995-11-30 11:03:59 -04:00
f = Method(ComponentResult, 'MCSetVisible',
1995-11-30 11:03:59 -04:00
(MovieController, 'mc', InMode),
(Boolean, 'visible', InMode),
)
MovieController_methods.append(f)
1995-11-30 11:03:59 -04:00
f = Method(ComponentResult, 'MCGetVisible',
1995-11-30 11:03:59 -04:00
(MovieController, 'mc', InMode),
)
MovieController_methods.append(f)
1995-11-30 11:03:59 -04:00
f = Method(ComponentResult, 'MCGetControllerBoundsRect',
1995-11-30 11:03:59 -04:00
(MovieController, 'mc', InMode),
(Rect, 'bounds', OutMode),
)
MovieController_methods.append(f)
1995-11-30 11:03:59 -04:00
f = Method(ComponentResult, 'MCSetControllerBoundsRect',
1995-11-30 11:03:59 -04:00
(MovieController, 'mc', InMode),
(Rect_ptr, 'bounds', InMode),
)
MovieController_methods.append(f)
1995-11-30 11:03:59 -04:00
f = Method(RgnHandle, 'MCGetControllerBoundsRgn',
1995-11-30 11:03:59 -04:00
(MovieController, 'mc', InMode),
)
MovieController_methods.append(f)
1995-11-30 11:03:59 -04:00
f = Method(RgnHandle, 'MCGetWindowRgn',
1995-11-30 11:03:59 -04:00
(MovieController, 'mc', InMode),
(WindowPtr, 'w', InMode),
)
MovieController_methods.append(f)
1995-11-30 11:03:59 -04:00
f = Method(ComponentResult, 'MCMovieChanged',
1995-11-30 11:03:59 -04:00
(MovieController, 'mc', InMode),
(Movie, 'm', InMode),
)
MovieController_methods.append(f)
1995-11-30 11:03:59 -04:00
f = Method(ComponentResult, 'MCSetDuration',
1995-11-30 11:03:59 -04:00
(MovieController, 'mc', InMode),
(TimeValue, 'duration', InMode),
)
MovieController_methods.append(f)
1995-11-30 11:03:59 -04:00
f = Method(TimeValue, 'MCGetCurrentTime',
1995-11-30 11:03:59 -04:00
(MovieController, 'mc', InMode),
(TimeScale, 'scale', OutMode),
)
MovieController_methods.append(f)
1995-11-30 11:03:59 -04:00
f = Method(ComponentResult, 'MCNewAttachedController',
1995-11-30 11:03:59 -04:00
(MovieController, 'mc', InMode),
(Movie, 'theMovie', InMode),
(WindowPtr, 'w', InMode),
(Point, 'where', InMode),
)
MovieController_methods.append(f)
1995-11-30 11:03:59 -04:00
f = Method(ComponentResult, 'MCDraw',
1995-11-30 11:03:59 -04:00
(MovieController, 'mc', InMode),
(WindowPtr, 'w', InMode),
)
MovieController_methods.append(f)
1995-11-30 11:03:59 -04:00
f = Method(ComponentResult, 'MCActivate',
1995-11-30 11:03:59 -04:00
(MovieController, 'mc', InMode),
(WindowPtr, 'w', InMode),
(Boolean, 'activate', InMode),
)
MovieController_methods.append(f)
1995-11-30 11:03:59 -04:00
f = Method(ComponentResult, 'MCIdle',
1995-11-30 11:03:59 -04:00
(MovieController, 'mc', InMode),
)
MovieController_methods.append(f)
1995-11-30 11:03:59 -04:00
f = Method(ComponentResult, 'MCKey',
1995-11-30 11:03:59 -04:00
(MovieController, 'mc', InMode),
(SInt8, 'key', InMode),
(long, 'modifiers', InMode),
)
MovieController_methods.append(f)
1995-11-30 11:03:59 -04:00
f = Method(ComponentResult, 'MCClick',
1995-11-30 11:03:59 -04:00
(MovieController, 'mc', InMode),
(WindowPtr, 'w', InMode),
(Point, 'where', InMode),
(long, 'when', InMode),
(long, 'modifiers', InMode),
)
MovieController_methods.append(f)
1995-11-30 11:03:59 -04:00
f = Method(ComponentResult, 'MCEnableEditing',
1995-11-30 11:03:59 -04:00
(MovieController, 'mc', InMode),
(Boolean, 'enabled', InMode),
)
MovieController_methods.append(f)
1995-11-30 11:03:59 -04:00
f = Method(long, 'MCIsEditingEnabled',
1995-11-30 11:03:59 -04:00
(MovieController, 'mc', InMode),
)
MovieController_methods.append(f)
1995-11-30 11:03:59 -04:00
f = Method(Movie, 'MCCopy',
1995-11-30 11:03:59 -04:00
(MovieController, 'mc', InMode),
)
MovieController_methods.append(f)
1995-11-30 11:03:59 -04:00
f = Method(Movie, 'MCCut',
1995-11-30 11:03:59 -04:00
(MovieController, 'mc', InMode),
)
MovieController_methods.append(f)
1995-11-30 11:03:59 -04:00
f = Method(ComponentResult, 'MCPaste',
1995-11-30 11:03:59 -04:00
(MovieController, 'mc', InMode),
(Movie, 'srcMovie', InMode),
)
MovieController_methods.append(f)
1995-11-30 11:03:59 -04:00
f = Method(ComponentResult, 'MCClear',
1995-11-30 11:03:59 -04:00
(MovieController, 'mc', InMode),
)
MovieController_methods.append(f)
1995-11-30 11:03:59 -04:00
f = Method(ComponentResult, 'MCUndo',
1995-11-30 11:03:59 -04:00
(MovieController, 'mc', InMode),
)
MovieController_methods.append(f)
1995-11-30 11:03:59 -04:00
f = Method(ComponentResult, 'MCPositionController',
1995-11-30 11:03:59 -04:00
(MovieController, 'mc', InMode),
(Rect_ptr, 'movieRect', InMode),
(Rect_ptr, 'controllerRect', InMode),
(long, 'someFlags', InMode),
)
MovieController_methods.append(f)
1995-11-30 11:03:59 -04:00
f = Method(ComponentResult, 'MCGetControllerInfo',
1995-11-30 11:03:59 -04:00
(MovieController, 'mc', InMode),
(long, 'someFlags', OutMode),
)
MovieController_methods.append(f)
1995-11-30 11:03:59 -04:00
f = Method(ComponentResult, 'MCSetClip',
1995-11-30 11:03:59 -04:00
(MovieController, 'mc', InMode),
(RgnHandle, 'theClip', InMode),
(RgnHandle, 'movieClip', InMode),
)
MovieController_methods.append(f)
1995-11-30 11:03:59 -04:00
f = Method(ComponentResult, 'MCGetClip',
1995-11-30 11:03:59 -04:00
(MovieController, 'mc', InMode),
(RgnHandle, 'theClip', OutMode),
(RgnHandle, 'movieClip', OutMode),
)
MovieController_methods.append(f)
1995-11-30 11:03:59 -04:00
f = Method(ComponentResult, 'MCDrawBadge',
1995-11-30 11:03:59 -04:00
(MovieController, 'mc', InMode),
(RgnHandle, 'movieRgn', InMode),
(RgnHandle, 'badgeRgn', OutMode),
)
MovieController_methods.append(f)
1995-11-30 11:03:59 -04:00
f = Method(ComponentResult, 'MCSetUpEditMenu',
1995-11-30 11:03:59 -04:00
(MovieController, 'mc', InMode),
(long, 'modifiers', InMode),
(MenuHandle, 'mh', InMode),
)
MovieController_methods.append(f)
1995-11-30 11:03:59 -04:00
f = Method(ComponentResult, 'MCGetMenuString',
1995-11-30 11:03:59 -04:00
(MovieController, 'mc', InMode),
(long, 'modifiers', InMode),
(short, 'item', InMode),
(Str255, 'aString', InMode),
)
MovieController_methods.append(f)
1995-11-30 11:03:59 -04:00
1995-11-30 13:42:08 -04:00
f = Function(TimeBase, 'NewTimeBase',
1995-11-30 11:03:59 -04:00
)
functions.append(f)
1995-11-30 13:42:08 -04:00
f = Method(void, 'SetTimeBaseValue',
(TimeBase, 'tb', InMode),
(TimeValue, 't', InMode),
(TimeScale, 's', InMode),
1995-11-30 11:03:59 -04:00
)
1995-11-30 13:42:08 -04:00
TimeBase_methods.append(f)
f = Method(Fixed, 'GetTimeBaseRate',
(TimeBase, 'tb', InMode),
)
TimeBase_methods.append(f)
f = Method(void, 'SetTimeBaseRate',
(TimeBase, 'tb', InMode),
(Fixed, 'r', InMode),
)
TimeBase_methods.append(f)
f = Method(long, 'GetTimeBaseFlags',
(TimeBase, 'tb', InMode),
)
TimeBase_methods.append(f)
f = Method(void, 'SetTimeBaseFlags',
(TimeBase, 'tb', InMode),
(long, 'timeBaseFlags', InMode),
)
TimeBase_methods.append(f)
f = Method(TimeBase, 'GetTimeBaseMasterTimeBase',
(TimeBase, 'tb', InMode),
)
TimeBase_methods.append(f)
f = Method(ComponentInstance, 'GetTimeBaseMasterClock',
(TimeBase, 'tb', InMode),
)
TimeBase_methods.append(f)
f = Method(Fixed, 'GetTimeBaseEffectiveRate',
(TimeBase, 'tb', InMode),
)
TimeBase_methods.append(f)
1995-11-30 11:03:59 -04:00