System-Platforms

MacOSXPlatform
A MacOSXPlatform is xxxxxxxxx.
Instance Variables
clipboardClass
isActivePlatform
platformFamily
Returns a symbol specific to the platform family (MacOSX, Windows, Unix, RiscOS).
This may need to be extended if there are new platforms added or significant differences within a platform family arise (as was the case between MacOS 9 and X).
OSPlatform
An OSPlatform is an abstract representation of a 'OS platform'.
Platforms can be hierarchical, e.g., a "general" platform as superclass and more specific platforms as subclasses as long as the subclasses provide sufficient means to identify themselves.
The original implementation was for Tweak.
Current holds the current OSPlatform subclass
Architectural considerations:
most platform specific methods that need to be added to the platform class should be in the form of extensions rather then adding them directly to this package. Otherwise the platform class will degenerate very quickly into a dependence hub for all kinds of sub systems.
clipboardClass
current
determineActivePlatformStartingAt:
initialize
Subclasses should redefine this method to perform initializations on instance creation
isActivePlatform
platformFamily
Returns a symbol specific to the platform family (MacOSX, Windows, Unix, RiscOS).
This may need to be extended if there are new platforms added or significant differences within a platform family arise (as was the case between MacOS 9 and X).
shutDown:
Squeak is shutting down. If this platform requires specific shutdown code, this is a great place to put it.
startUp:
Squeak is starting up. If this platform requires specific intialization, this is a great place to put it.
virtualKey:
RiscOSPlatform
A RiscOSPlatform is xxxxxxxxx.
Instance Variables
isActivePlatform
platformFamily
Returns a symbol specific to the platform family (MacOSX, Windows, Unix, RiscOS).
This may need to be extended if there are new platforms added or significant differences within a platform family arise (as was the case between MacOS 9 and X).
UnixPlatform
An UnixPlatform is xxxxxxxxx.
Instance Variables
isActivePlatform
platformFamily
Returns a symbol specific to the platform family (MacOSX, Windows, Unix, RiscOS).
This may need to be extended if there are new platforms added or significant differences within a platform family arise (as was the case between MacOS 9 and X).
Win32Platform
A Win32Platform is xxxxxxxxx.
Instance Variables
isActivePlatform
platformFamily
Returns a symbol specific to the platform family (MacOSX, Windows, Unix, RiscOS).
This may need to be extended if there are new platforms added or significant differences within a platform family arise (as was the case between MacOS 9 and X).
virtualKey: