home *** CD-ROM | disk | FTP | other *** search
/ PC World Interactive 11 / PC World Interactive 11.iso / share / multimed / effect / Application Files / ComApplication.h < prev    next >
Encoding:
C/C++ Source or Header  |  1998-03-12  |  2.0 KB  |  79 lines

  1. //////////
  2. //
  3. //    File:        ComApplication.h
  4. //
  5. //    Contains:    Functions that could be overridden in a specific application.
  6. //
  7. //    Written by:    Tim Monroe
  8. //                Based (heavily!) on the MovieShell code written by Apple DTS
  9. //
  10. //    Copyright:    ⌐ 1994-1997 by Apple Computer, Inc., all rights reserved.
  11. //
  12. //    Change History (most recent first):
  13. //
  14. //       <4>         09/11/97    rtm        merged MacApplication.h and WinApplication.h
  15. //       <3>         08/21/97    rtm        begun adding Windows support
  16. //       <2>         11/27/96    rtm        conversion to personal coding style
  17. //       <1>         12/21/94    khs        first file
  18. //       
  19. //////////
  20.  
  21. #pragma once
  22.  
  23. //////////
  24. // header files
  25. //////////
  26.  
  27. #ifndef __QUICKTIMEVR__
  28. #include <QuickTimeVR.h>
  29. #endif
  30.  
  31. #ifndef __QTUtilities__
  32. #include "QTUtilities.h"
  33. #endif
  34.  
  35. #ifndef __QTVRUtilities__
  36. #include "QTVRUtilities.h"
  37. #endif
  38.  
  39. #include <MediaHandlers.h>
  40. #include <Movies.h>
  41. #include <Resources.h>
  42. #include <Sound.h>
  43. #include <SoundComponents.h>
  44. #include <SoundSprocket.h>
  45. #include <TextUtils.h>
  46.  
  47. #include <string.h>
  48. #include <stdlib.h>
  49.  
  50. #if TARGET_OS_MAC
  51. #include <AppleEvents.h>
  52. #include "MacFramework.h"
  53. #include "AppConfiguration.h"
  54. #endif    // TARGET_OS_MAC
  55.  
  56. #if TARGET_OS_WIN32
  57. #include "WinFramework.h"
  58. #endif    // TARGET_OS_WIN32
  59.  
  60. #include "ComResource.h"
  61.  
  62. //////////
  63. // constants
  64. //////////
  65.  
  66. //////////
  67. // function prototypes
  68. //////////
  69.  
  70. #if TARGET_OS_MAC
  71. void                    InstallAppleEventHandlers (void);
  72. pascal OSErr            HandleOpenApplicationAppleEvent (const AppleEvent *theMessage, const AppleEvent *theReply, long theRefcon);            
  73. pascal OSErr            HandleOpenDocumentAppleEvent (const AppleEvent *theMessage, const AppleEvent *theReply, long theRefcon);
  74. pascal OSErr            HandlePrintDocumentAppleEvent (const AppleEvent *theMessage, const AppleEvent *theReply, long theRefcon);
  75. pascal OSErr            HandleQuitApplicationAppleEvent (const AppleEvent *theMessage, const AppleEvent *theReply, long theRefcon);
  76. #endif    // TARGET_OS_MAC
  77.  
  78. // the other function prototypes are in the file MacFramework.h or WinFramework.h
  79.