home *** CD-ROM | disk | FTP | other *** search
/ QuickTime 2.0 Developer Kit / QuickTime 2.0 Developer Kit.iso / mac / MAC / Programming Stuff / Documentation / develop / develop Issue 12 / develop 12 code / Components / MathComponentCommon.h < prev    next >
Encoding:
Text File  |  1992-10-16  |  1.3 KB  |  49 lines  |  [TEXT/KAHL]

  1. /*
  2.     File:        MathComponentCommon.h
  3.  
  4.     Contains:    Math component routines (also used by MoMath component).
  5.  
  6.     Written by:    Gary Woodcock
  7.  
  8.     Copyright:    © 1992 by Apple Computer, Inc., all rights reserved.
  9.  
  10.     Change History (most recent first):
  11.  
  12. */
  13.  
  14. //-----------------------------------------------------------------------
  15. // Includes
  16.  
  17. #ifndef _MATHCOMPONENTCOMMON_
  18. #define    _MATHCOMPONENTCOMMON_
  19.  
  20. #include <QuickTimeComponents.h>
  21.  
  22. //-----------------------------------------------------------------------
  23. // Prototypes
  24.  
  25. pascal    ComponentResult    _MathOpen        (Handle                    storage,
  26.                                          ComponentInstance        self);
  27.  
  28. pascal    ComponentResult    _MathClose        (Handle                    storage,
  29.                                          ComponentInstance        self);
  30.  
  31. pascal    ComponentResult    _MathCanDo        (short                    selector);
  32.  
  33. pascal    ComponentResult    _MathVersion    (void);
  34.  
  35. pascal    ComponentResult    _MathTarget        (Handle                    storage,
  36.                                          ComponentInstance        capturingComponent);
  37.                                     
  38. pascal    ComponentResult    _MathDoDivide    (short                    numerator,
  39.                                          short                    denominator,
  40.                                          short                    *quotient);
  41.                                          
  42. pascal    ComponentResult    _MathDoMultiply    (short                    firstNum,
  43.                                          short                    secondNum,
  44.                                          short                    *multiplicationResult);
  45.  
  46. #endif _MATHCOMPONENTCOMMON_
  47.          
  48. //-----------------------------------------------------------------------
  49.