home *** CD-ROM | disk | FTP | other *** search
Text File | 1996-05-01 | 2.3 KB | 86 lines | [TEXT/MPS ] |
- /*
- File: TextObjects.idl
-
- Contains: Text object Interfaces.
-
- Version: Technology: System 8
- Release: Universal Interfaces 3.0d3 on Copland DR1
-
- Copyright: © 1984-1996 by Apple Computer, Inc. All rights reserved.
-
- Bugs?: If you find a problem with this file, send the file and version
- information (from above) and the problem description to:
-
- Internet: apple.bugs@applelink.apple.com
- AppleLink: APPLE.BUGS
-
- */
- #ifndef __TEXTOBJECTS_IDL__
- #define __TEXTOBJECTS_IDL__
-
- #include <somobj.idl>
- #include <somcls.idl>
-
- #ifndef __CONDITIONALMACROS_IDL__
- #include <ConditionalMacros.idl>
- #endif
- #ifndef __TYPES_IDL__
- #include <Types.idl>
- #endif
- #ifndef __UNICODE_IDL__
- #include <Unicode.idl>
- #endif
- #ifndef __TEXTCOMMON_IDL__
- #include <TextCommon.idl>
- #endif
-
- #ifdef __SOMIDL__
-
- #if FOR_SYSTEM7_AND_SYSTEM8_PREEMPTIVE
- /* Basic data types */
- typedef UInt32 TextObjectUnit;
-
- typedef OpaquePtr TextObject; /* Substituted OpaquePtr for “TextObjectUnit*” */
-
- typedef OpaquePtr TextObjectPtr; /* Substituted OpaquePtr for “TextObject*” */
-
- typedef OpaquePtr ConstTextObject; /* Substituted OpaquePtr for “TextObjectUnit*” */
-
- /* Indices into text objects */
- typedef UInt32 TextObjectIndex;
-
- /* Option flags */
- typedef OptionBits TextObjectOptions;
-
- /*
- The default or standard OptionBits are all zero by convention. The following
- symbolic constant is provided for code readability.
- */
- /* Creation and destruction */
- /* Text content manipulation */
- /* Text object information */
- /* This is equivalent to the preceding function. The preceding name is preferred. */
- /* Bulk access to text content */
- typedef SOMLargeStruct TextObjectTextInfo; /* Derived from a struct of 24 bytes in size */
-
- /* Comparison functions are in TextUtils */
- /* Annotations */
- /* Annotation types are given by the traditional four-character codes */
- typedef FourCharCode TextObjectAnnotationTag;
-
- /* A wildcard tag to specify all annotations */
- /* Annotation attributes */
- typedef OptionBits TextObjectAnnotationAttributes;
-
- /* Annotation attribute bits */
- /* Accessing annotations */
- typedef SOMLargeStruct TextObjectAnnotationInfo; /* Derived from a struct of 24 bytes in size */
-
- /* Miscellaneous */
- #endif
-
- #endif /* __SOMIDL__ */
-
- #endif /* __TEXTOBJECTS_IDL__ */
-
-