1/*
2 * Copyright 2020-2021, Andrew Lindesay <apl@lindesay.co.nz>.
3 * All rights reserved. Distributed under the terms of the MIT License.
4 */
5#ifndef PACKAGE_ICON_REPOSITORY_H
6#define PACKAGE_ICON_REPOSITORY_H
7
8#include <String.h>
9
10#include "HaikuDepotConstants.h"
11#include "SharedBitmap.h"
12
13
14class PackageIconRepository {
15public:
16	virtual	bool				HasAnyIcon(const BString& pkgName) = 0;
17	virtual	status_t			GetIcon(const BString& pkgName, BitmapSize size,
18									BitmapRef& bitmap) = 0;
19	virtual	void				Clear() = 0;
20};
21
22
23#endif // PACKAGE_ICON_REPOSITORY_H
24