Home | Info | Community | Development | myReactOS | Contact Us
ReactOS Development > Doxygengdiplusbase.h
Go to the documentation of this file.
00001 /* 00002 * GdiPlusBase.h 00003 * 00004 * Windows GDI+ 00005 * 00006 * This file is part of the w32api package. 00007 * 00008 * THIS SOFTWARE IS NOT COPYRIGHTED 00009 * 00010 * This source code is offered for use in the public domain. You may 00011 * use, modify or distribute it freely. 00012 * 00013 * This code is distributed in the hope that it will be useful but 00014 * WITHOUT ANY WARRANTY. ALL WARRANTIES, EXPRESS OR IMPLIED ARE HEREBY 00015 * DISCLAIMED. This includes but is not limited to warranties of 00016 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 00017 */ 00018 00019 #ifndef _GDIPLUSBASE_H 00020 #define _GDIPLUSBASE_H 00021 00022 class GdiplusBase { 00023 public: 00024 void operator delete(void *in_pVoid) 00025 { 00026 DllExports::GdipFree(in_pVoid); 00027 } 00028 00029 void operator delete[](void *in_pVoid) 00030 { 00031 DllExports::GdipFree(in_pVoid); 00032 } 00033 00034 void *operator new(size_t in_size) 00035 { 00036 return DllExports::GdipAlloc(in_size); 00037 } 00038 00039 void *operator new[](size_t in_size) 00040 { 00041 return DllExports::GdipAlloc(in_size); 00042 } 00043 }; 00044 00045 #endif /* _GDIPLUSBASE_H */ Generated on Sun May 27 2012 04:31:28 for ReactOS by
1.7.6.1
|