I think the Carbon build now works well enough to be worth turning on by
[u/mdw/putty] / mac / mac_res.r
index cefcfbe..965b715 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: mac_res.r,v 1.26 2003/02/07 01:38:12 ben Exp $ */
+/* $Id: mac_res.r,v 1.28 2003/02/23 11:58:59 ben Exp $ */
 /*
  * Copyright (c) 1999, 2002 Ben Harris
  * All rights reserved.
 /* Get resource IDs we share with C code */
 #include "macresid.h"
 
-/*
- * Current PuTTY version number.  Minor is in BCD
- */
-#define VERSION_MAJOR 0x00
-#define VERSION_MINOR 0x53
+#include "version.r"
 
 /*
  * Finder-related resources
@@ -61,10 +57,10 @@ resource 'pTTY' (0, purgeable) {
 
 resource 'SIZE' (-1) {
     reserved,
-    ignoreSuspendResumeEvents,
+    acceptSuspendResumeEvents,
     reserved,
     canBackground,
-    needsActivateOnFGSwitch,
+    doesActivateOnFGSwitch,
     backgroundAndForeground,
     dontGetFrontClicks,
     ignoreAppDiedEvents,
@@ -814,54 +810,6 @@ resource 'ics8' (FREF_Seed) {
        $"00FFFFFFFFFFFFFFFFFFFFFFFFFF"
 };
 
-resource 'vers' (1, purgeable) {
-#ifdef RELEASE
-    VERSION_MAJOR, VERSION_MINOR,
-    beta,
-#else
-    VERSION_MAJOR, VERSION_MINOR + 1,
-    development,
-#endif
-    0, /* No prerelease version */
-    verBritain,
-#ifdef RELEASESTR
-    RELEASESTR,
-    "Release " RELEASESTR,
-#else
-#ifdef SNAPSHOTSTR
-    SNAPSHOTSTR,
-    "Development snapshot " SNAPSHOTSTR,
-#else
-    "unknown",
-    "Unidentified build, " $$Date " " $$Time,
-#endif
-#endif
-};
-
-resource 'vers' (2, purgeable) {
-#ifdef RELEASE
-    VERSION_MAJOR, VERSION_MINOR,
-    beta,
-#else
-    VERSION_MAJOR, VERSION_MINOR + 1,
-    development,
-#endif
-    0, /* No prerelease version */
-    verBritain,
-#ifdef RELEASESTR
-    RELEASESTR,
-    "PuTTY " RELEASESTR,
-#else
-#ifdef SNAPSHOTSTR
-    SNAPSHOTSTR,
-    "PuTTY snapshot " SNAPSHOTSTR,
-#else
-    "unknown",
-    "PuTTY",
-#endif
-#endif
-};
-
 /*
  * Resources to copy into created files
  */