/* * Copyright 2020-2021, Andrew Lindesay . * All rights reserved. Distributed under the terms of the MIT License. */ #ifndef PACKAGE_ICON_REPOSITORY_H #define PACKAGE_ICON_REPOSITORY_H #include #include "HaikuDepotConstants.h" #include "SharedBitmap.h" class PackageIconRepository { public: virtual bool HasAnyIcon(const BString& pkgName) = 0; virtual status_t GetIcon(const BString& pkgName, BitmapSize size, BitmapRef& bitmap) = 0; virtual void Clear() = 0; }; #endif // PACKAGE_ICON_REPOSITORY_H