home *** CD-ROM | disk | FTP | other *** search
Text File | 1996-09-17 | 2.4 KB | 84 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
-
- #ifndef FWMENUS_K
- #include "FWMenus.k"
- #endif
-
- //-------------------------------------------------------------------------------------
- // 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 0
- #define FW_SUPPORTS_SCRIPTING 0
-
- //-------------------------------------------------------------------------------------
- // Icons ID
- #define kViewAsIconID 128
- #define kAboutIconID 130
-
- //-------------------------------------------------------------------------------------
- // Strings
- #define kHelloPartStrings 1000
-
- #define kFirstString 1
- #define kMacString 2
- #define kWinString 3
- #define kBlankString 4
-
- #ifdef FW_BUILD_MAC
- #define kPlatformString kMacString
- #endif
- #ifdef FW_BUILD_WIN
- #define kPlatformString kWinString
- #endif
-
- #define kHelloUndoStrings 1002
-
- #define kUndoDragTextMsg 1
- #define kRedoDragTextMsg 2
- #define kUndoDropTextMsg 3
- #define kRedoDropTextMsg 4
- #define kUndoClearTextMsg 5
- #define kRedoClearTextMsg 6
- #define kUndoCutTextMsg 7
- #define kRedoCutTextMsg 8
- #define kUndoPasteTextMsg 9
- #define kRedoPasteTextMsg 10
-
- //-------------------------------------------------------------------------------------
- // Menus
- #define kMenuBar 1024
-
- // ----- Command IDs
- #define cPlaceInCenter FW_kFirstUserCommandID
- #define cPlaceAtTop cPlaceInCenter + 1
-
- //-------------------------------------------------------------------------------------
- // About
- #define kAbout 1024
-
- //-------------------------------------------------------------------------------------
- // Part Info
- #define kPartInfoID 1024
-
-
- #endif
-
-