Hi all, in Tweak there is a hierarchy of CPlatform classes (CPlatformWindows etc) that provide a central place to add platform specific requests and avoid having the current platform detection code all over the system
So instead of coding ExternalClipboard>>interfaceClass with all the gory details of platform detection you could just write Platform current externalClipboardClass We also used this in Sophie in connection with the FileLocations and URI package, supporting things like Platform current tempDirectoryURI Platform current userDirectoryURI etc What do people think about introducing something similar (category System-Platform) in Pharo? Michael _______________________________________________ Pharo-project mailing list [email protected] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
