| 55 | } |
| 56 | |
| 57 | class FI_BitmapResource |
| 58 | { |
| 59 | public: |
| 60 | explicit FI_BitmapResource(FIBITMAP * p) : |
| 61 | pBitmap(p) |
| 62 | { |
| 63 | } |
| 64 | |
| 65 | ~FI_BitmapResource() |
| 66 | { |
| 67 | FreeImage_Unload(pBitmap); |
| 68 | } |
| 69 | private: |
| 70 | FIBITMAP * pBitmap; |
| 71 | }; |
| 72 | #endif //USE_FREEIMAGE |
| 73 | |
| 74 | /* following function is thread safe */ |
nothing calls this directly
no outgoing calls
no test coverage detected