home *** CD-ROM | disk | FTP | other *** search
Text File | 1995-11-08 | 2.3 KB | 103 lines | [TEXT/MPS ] |
- #ifdef __PRIVATE__
- //#
- //# File: SemtIntf.idl
- //#
- //# Contains: Class definition for ODCPlusSemanticInterface
- //#
- //# Owned by: Nick Pilch
- //#
- //# Copyright: © 1993 - 1995 by Apple Computer, Inc., all rights reserved.
- //#
- #else
- //# Copyright: © 1993 - 1995 by Apple Computer, Inc., all rights reserved.
- #endif
-
- #ifndef _SEMTINTF_
- #define _SEMTINTF_
-
- #ifndef _SEMTINTB_
- #include "SemtIntB.idl"
- #endif
-
- //==============================================================================
- // Classes defined in this interface
- //==============================================================================
-
- interface ODCPlusSemanticInterface;
-
- //==============================================================================
- // Classes used by this interface
- //==============================================================================
-
- interface ODPart;
- interface ODSession;
-
- //=====================================================================================
- // Implementation Types
- //=====================================================================================
-
- typedef somToken SIHelperAbs;
-
- //==============================================================================
- // ODCPlusSemanticInterface
- //==============================================================================
-
- #ifdef _PLATFORM_MACINTOSH_
-
- interface ODCPlusSemanticInterface : ODSemanticInterface
- {
- void InitCPlusSemanticInterface(in ODPart base, in SIHelperAbs* helper,
- in ODSession session);
-
- SIHelperAbs* GetSIHelper();
-
- #ifdef __SOMIDL__
- implementation
- {
- functionprefix = ODCPlusSemanticInterface;
-
- override:
- somInit,
- somUninit,
- CallEventHandler,
- CallCoercionHandler,
- CallObjectAccessor,
- CallPredispatchProc,
- CallCompareProc,
- CallCountProc,
- CallDisposeTokenProc,
- CallGetErrDescProc,
- CallGetMarkTokenProc,
- CallMarkProc,
- CallAdjustMarksProc;
- releaseorder:
- InitCPlusSemanticInterface,
- GetSIHelper;
-
- #ifdef __PRIVATE__
- passthru C_xih = "
- ""
- "#include \"SIHelper.h\""
- ""
- "struct OSLContext;" //# figure out where to put
- "typedef OSLContext ODOSLContext;" //# this!
- "const ODSize kOSLContextSize = sizeof(ODOSLContext*);"
- "";
-
- SIHelperAbs* fHelper;
- #endif
-
- passthru C_xh = "
- ""
- "class SIHelperAbs;"
- "";
- };
- #endif //# __SOMIDL__
- };
-
-
- #endif //# _PLATFORM_MACINTOSH_
-
-
- #endif //# _SEMTINTF_
-