* Copyright 2024, Andrew Lindesay <apl@lindesay.co.nz>.
* All rights reserved. Distributed under the terms of the MIT License.
*/
#ifndef BITMAP_HOLDER_H
#define BITMAP_HOLDER_H
#include <Bitmap.h>
#include <Referenceable.h>
#include "HaikuDepotConstants.h"
It is used for carrying icon images as well as icons for packages.
*/
class BitmapHolder : public BReferenceable
{
public:
BitmapHolder(const BBitmap* bitmap);
virtual ~BitmapHolder();
const BBitmap* Bitmap() const;
private:
const BBitmap* fBitmap;
};
typedef BReference<BitmapHolder> BitmapHolderRef;
#endif