home *** CD-ROM | disk | FTP | other *** search
Text File | 1992-10-16 | 1.1 KB | 57 lines | [TEXT/KAHL] |
- /*
- File: MoMathComponent.h
-
- Contains: Header file for MoMath component routines.
-
- Written by: Gary Woodcock
-
- Copyright: © 1992 by Apple Computer, Inc., all rights reserved.
-
- Change History (most recent first):
-
- */
-
- //-----------------------------------------------------------------------
- // Includes
-
- #ifndef _MOMATHCOMPONENT_
- #define _MOMATHCOMPONENT_
-
- #include <Components.h>
- #include <QuickTimeComponents.h>
-
- //-----------------------------------------------------------------------
- // Public constants
-
- // Special manufacturer for MoMath component
- #define moMathComponentMfg 'gwck'
-
- // Add request code
- enum
- {
- kDoAddSelect = 256
- };
-
- //-----------------------------------------------------------------------
- // Public interfaces
-
- #ifdef __cplusplus
- extern "C" {
- #endif __cplusplus
-
- // Add prototype
- pascal ComponentResult DoAdd (MathComponent mathInstance,
- short firstNum,
- short secondNum,
- short *additionResult)
-
- = ComponentCallNow (kDoAddSelect, 0x08);
-
- #ifdef __cplusplus
- }
- #endif __cplusplus
-
- #endif _MOMATHCOMPONENT_
-
- //-----------------------------------------------------------------------
-