MeVisLabToolboxReference
MeVis/Foundation/Sources/OSXSupport/macView.h
Go to the documentation of this file.
00001 // **InsertLicense** code author="Felix Ritter" version="1.0"
00002 
00006 
00007 #ifndef __macView_H
00008 #define __macView_H
00009 #if defined(__APPLE__)
00010 
00011 namespace macx {
00012   
00013 # define macxHIView     void
00014 # define macxHIViewRef  void*
00015 
00016 #if !defined(macxNSView)
00017 # define macxNSView     void
00018 #endif
00019   
00021   class View
00022   {
00023   public:
00024       
00026 
00028     static bool renderNSView(macxNSView *view, bool flush = true);
00029 
00030 #if !defined(__LP64__)
00031 
00032 
00034     static bool renderHIView(macxHIViewRef view, bool flush = true);
00035 #endif
00036   };
00037   
00038 }
00039 
00040 #endif  // __APPLE__
00041 #endif  // __macView_H