2 * Copyright 2014, Stephan Aßmus <superstippi@gmx.de>.
3 * All rights reserved. Distributed under the terms of the MIT License.
5 #ifndef FEATURED_PACKAGES_VIEW_H
6 #define FEATURED_PACKAGES_VIEW_H
11 #include "PackageInfo.h"
12 #include "PackageInfoListener.h"
16 class ScrollableGroupView
;
19 class FeaturedPackagesView
: public BView
{
21 FeaturedPackagesView();
22 virtual ~FeaturedPackagesView();
24 void AddPackage(const PackageInfoRef
& package
);
25 void RemovePackage(const PackageInfoRef
& package
);
28 void SelectPackage(const PackageInfoRef
& package
,
29 bool scrollToEntry
= false);
31 static void CleanupIcons();
34 BGroupLayout
* fPackageListLayout
;
35 ScrollableGroupView
* fContainerView
;
39 #endif // FEATURED_PACKAGES_VIEW_H