1 /* 2 * Copyright 2024, Andrew Lindesay <apl@lindesay.co.nz>. 3 * All rights reserved. Distributed under the terms of the MIT License. 4 */ 5 6 #include "BitmapHolder.h" 7 8 9 BitmapHolder::BitmapHolder(const BBitmap* bitmap) 10 : 11 fBitmap(bitmap) 12 { 13 } 14 15 16 BitmapHolder::~BitmapHolder() 17 { 18 delete fBitmap; 19 } 20 21 22 const BBitmap* 23 BitmapHolder::Bitmap() const 24 { 25 return fBitmap; 26 } 27