home *** CD-ROM | disk | FTP | other *** search
/ Apple Developer Connection 1998 Fall: Game Toolkit / Disc.iso / Samples / SprocketExamples / SprocketInvaders / Source / RedbookHandler.h < prev    next >
Encoding:
Text File  |  1998-07-14  |  1.3 KB  |  43 lines  |  [TEXT/CWIE]

  1. //•    ------------------------------------------------------------------------------------------    •
  2. //•
  3. //•    Copyright © 1996 Apple Computer, Inc., All Rights Reserved
  4. //•
  5. //•
  6. //•        You may incorporate this sample code into your applications without
  7. //•        restriction, though the sample code has been provided "AS IS" and the
  8. //•        responsibility for its operation is 100% yours.  However, what you are
  9. //•        not permitted to do is to redistribute the source as "DSC Sample Code"
  10. //•        after having made changes. If you're going to re-distribute the source,
  11. //•        we require that you make it clear in the source that the code was
  12. //•        descended from Apple Sample Code, but that you've made changes.
  13. //•
  14. //•        Authors:
  15. //•            Chris De Salvo
  16. //•
  17. //•    ------------------------------------------------------------------------------------------    •
  18.  
  19. #ifndef __REDBOOKHANDLER__
  20. #define __REDBOOKHANDLER__
  21.  
  22. //•    ------------------------------    Includes
  23. //•    ------------------------------    Public Definitions
  24. //•    ------------------------------    Public Types
  25. //•    ------------------------------    Public Variables
  26.  
  27. extern Boolean gCDAudio;
  28.  
  29. //•    ------------------------------    Public Functions
  30.  
  31. #ifdef __cplusplus
  32. extern "C" {
  33. #endif
  34.  
  35. extern void RedbookHandlerInit(void);
  36. extern short RedbookGetNumTracks(void);
  37. extern void RedbookPlayTrackNum(UInt16 inTrackNum);
  38.  
  39. #ifdef __cplusplus
  40. }
  41. #endif
  42.  
  43. #endif