Retired Document
Important: This sample code may not represent best practices for current development. The project may use deprecated symbols and illustrate technologies and techniques that are no longer recommended.
MCPlayMovie.h
/* |
File: MCPlayMovie.h |
Contains: Header for movie Playing Application Using Movie Controllers. |
Written by: John Wang / DTS, Tim Nufire |
Copyright: © 1991-1995 by Apple Computer, Inc., all rights reserved. |
*/ |
#ifndef _MCPLAYMOVIE_ |
#define _MCPLAYMOVIE_ |
#include <Palettes.h> |
// DEFINES |
#define Gestalttest 0xA1AD |
#define NoTrap 0xA89F |
#define MAXMOVIES 5 |
// FUNCTION PROTOTYPES |
Movie GetMovieFromFile(void); |
OSErr PlayMovie(int index); |
Boolean InitMovies(void); |
void FinishMovies(void); |
Boolean DoCloseMovieCommand(void); |
int PlayMovies(EventRecord* myEvent); |
void DoOpenMovieCommand(void); |
// GLOBALS |
extern Boolean playingMovie[MAXMOVIES]; |
extern Movie myMovie[MAXMOVIES]; |
extern WindowPtr movieWindow[MAXMOVIES]; |
extern MovieController mcPlay[MAXMOVIES]; |
extern int startlocation; |
extern CTabHandle mycolors; |
extern PaletteHandle srcPalette; |
#endif _MCPLAYMOVIE_ |
Copyright © 2003 Apple Computer, Inc. All Rights Reserved. Terms of Use | Privacy Policy | Updated: 2003-01-14