/* Copyright (c) 1991-2000 UserLand Software, Inc. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ #ifdef __powerc #include <MacHeadersPPC> #else #include <MacHeaders68K> #endif #undef coderesource /*this code is compiling in an app, not a code resource*/ #define uiSharing /*we use UI Sharing, not Menu Sharing, for Applet Toolkit*/ #define appRunsCards /*for applet toolkit, if defined, we manage card windows*/ #define iowaRuntimeInApp /*allows cardrunnershell.c to special case*/ #undef iowaRuntime /*iowa code knows it is compiling in Card Editor*/ #define IOAinsideApp /*all the IOA's are baked into the Card Editor app*/ #define fldebug /*turn on assertions, other debugging code*/ #undef customizedfilemenu /*dmb 1.0b20 -- undefed*/ /*we add command(s) to the Applet file menu*/ #ifdef customizedfilemenu #define newitem 1 #define openitem 2 #define closeitem 3 #define saveitem 5 #define saveasitem 6 #define saveasappitem 7 #define revertitem 8 #define pagesetupitem 10 #define printitem 11 #define quititem 13 #endif