MeVisLabToolboxReference
MeVis/Foundation/Sources/OSXSupport/macObjectiveAutoreleasePool.h
Go to the documentation of this file.
00001 // **InsertLicense** code author="Felix Ritter" version="1.0"
00002 
00006 
00007 #ifndef __macObjectiveAutoreleasePool_H
00008 #define __macObjectiveAutoreleasePool_H
00009 #if defined(__APPLE__)
00010 
00011 #include <string>
00012 
00013 namespace macx {
00014   
00016   class ObjectiveAutoreleasePool
00017   {
00018   public:
00019 
00021     ObjectiveAutoreleasePool();
00022     
00024     ~ObjectiveAutoreleasePool();
00025 
00026   private:
00027 
00028     void *pool;
00029   };
00030 
00031 }
00032 
00033 #endif  // __APPLE__
00034 #endif  // __macObjectiveAutoreleasePool_H