MeVisLabToolboxReference
|
00001 // **InsertLicense** code author="Felix Ritter" version="1.0" 00002 00006 00007 #ifndef __macScreenShot_H 00008 #define __macScreenShot_H 00009 #if defined(__APPLE__) 00010 00011 #include <ApplicationServices/ApplicationServices.h> 00012 00013 namespace macx { 00014 00016 class ScreenShot 00017 { 00018 public: 00019 00021 00023 static CGImageRef create(int x, int y, unsigned int width, unsigned int height); 00024 }; 00025 00026 } 00027 00028 #endif // __APPLE__ 00029 #endif // __macScreenShot_H