/* * Copyright 2020-2024, 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 "BitmapHolder.h" #include "HaikuDepotConstants.h" class PackageIconRepository { public: virtual bool HasAnyIcon(const BString& pkgName) = 0; virtual status_t GetIcon(const BString& pkgName, uint32 size, BitmapHolderRef& bitmapHolderRef) = 0; virtual void Clear() = 0; }; #endif // PACKAGE_ICON_REPOSITORY_H