OSXOperatingSystem.st
changeset 22959 a88673d40f15
parent 22833 60d71a4c5600
child 22962 4352599df059
equal deleted inserted replaced
22958:085e31f4bd4d 22959:a88673d40f15
     1 "{ Encoding: utf8 }"
       
     2 
       
     3 "
     1 "
     4  COPYRIGHT (c) 2013 by Claus Gittinger
     2  COPYRIGHT (c) 2013 by Claus Gittinger
     5 	      All Rights Reserved
     3 	      All Rights Reserved
     6 
     4 
     7  This software is furnished under a license and may be used
     5  This software is furnished under a license and may be used
    33 #endif
    31 #endif
    34 
    32 
    35 #ifndef __osx__
    33 #ifndef __osx__
    36 # define NO_QUARTZ
    34 # define NO_QUARTZ
    37 # define NO_COCOA
    35 # define NO_COCOA
       
    36 # define NO_CARBON
    38 #endif
    37 #endif
    39 
    38 
    40 // #include <mach/clock.h>
    39 // #include <mach/clock.h>
    41 // #include <mach/mach.h>
    40 // #include <mach/mach.h>
    42 // #include <sys/time.h>
    41 // #include <sys/time.h>
   697      (here we can return a list of mounted drives in /Volumes)"
   696      (here we can return a list of mounted drives in /Volumes)"
   698 
   697 
   699     ^ true
   698     ^ true
   700 ! !
   699 ! !
   701 
   700 
       
   701 !OSXOperatingSystem class methodsFor:'misc'!
       
   702 
       
   703 speak:aString
       
   704     "use 'say ...'"
       
   705 
       
   706     ^ self executeCommand:('say "%1"' bindWith:aString)
       
   707 
       
   708     "
       
   709      self speak:'hello world'
       
   710     "
       
   711 ! !
       
   712 
   702 !OSXOperatingSystem class methodsFor:'quartz - screen'!
   713 !OSXOperatingSystem class methodsFor:'quartz - screen'!
   703 
   714 
   704 getFrameBufferImage:displayNr
   715 getFrameBufferImage:displayNr
   705     "returns the framebuffer as an image object"
   716     "returns the framebuffer as an image object"
   706 
   717 
   960 !
   971 !
   961 
   972 
   962 version_CVS
   973 version_CVS
   963     ^ '$Header$'
   974     ^ '$Header$'
   964 ! !
   975 ! !
       
   976