home *** CD-ROM | disk | FTP | other *** search
Text File | 1996-09-17 | 2.2 KB | 61 lines | [TEXT/MPS ] |
- //=====================================================================================
- //
- // File: Defines.k
- // Release Version: $ ODF 2 $
- //
- // Copyright: (c) 1993 - 1996 by Apple Computer, Inc., all rights reserved.
- //
- //=====================================================================================
-
- #ifndef DEFINES_K
- #define DEFINES_K
-
- //-------------------------------------------------------------------------------------
- // Uncomment the following three lines, and define them appropriately!!
- // If your part can be a container for other parts, define FW_SUPPORTS_EMBEDDING
- // to be 1. Otherwise define it to be 0.
- // If your part defines any ODExtensions, define FW_SUPPORTS_EXTENSIONS to be
- // 1 to enable the extensions manager. Otherwise, define it to be 0.
- // If your part is scriptable, define FW_SUPPORTS_SCRIPTING to be 1. Otherwise,
- // define it to be zero. Note that if your part is scriptable is must support
- // extensions, so FW_SUPPORTS_EXTENSIONS must be defined to be 1.
- #define FW_SUPPORTS_EMBEDDING 0
- #define FW_SUPPORTS_EXTENSIONS 1
- #define FW_SUPPORTS_SCRIPTING 1
-
- //-------------------------------------------------------------------------------------
- // Icons ID
- #define kViewAsIconID 128
-
- //-------------------------------------------------------------------------------------
- // Views
- #define kButtonView 1024
-
- //-------------------------------------------------------------------------------------
- // Strings
- #define kButtonDialogStrings 1024
- #define kNoAppleScriptMsg 1
-
- //-------------------------------------------------------------------------------------
- // Scripting
- #define kODFButtonSuiteID 'ODFb'
- #define kDoItEventID 'bDoI'
-
- //-------------------------------------------------------------------------------------
- // Part Info
- #define kPartInfoID 1024
-
- //-------------------------------------------------------------------------------------
- // Document Window
- #define kDocumentWindowID 1024
-
- //-------------------------------------------------------------------------------------
- // Presentation
- #define kODFButtonPresentation "Apple:Presentation:ODFButton"
-
-
- #define kNothing 0
- #define kSound 1
- #define kScript 2
-
- #endif