1 /* 2 * Copyright 2014, Stephan Aßmus <superstippi@gmx.de>. 3 * All rights reserved. Distributed under the terms of the MIT License. 4 */ 5 #ifndef FEATURED_PACKAGES_VIEW_H 6 #define FEATURED_PACKAGES_VIEW_H 7 8 9 #include <View.h> 10 11 #include "PackageInfo.h" 12 #include "PackageInfoListener.h" 13 14 15 class BGroupLayout; 16 17 18 class FeaturedPackagesView : public BView { 19 public: 20 FeaturedPackagesView(); 21 virtual ~FeaturedPackagesView(); 22 23 void AddPackage(const PackageInfoRef& package); 24 void Clear(); 25 26 void SelectPackage(const PackageInfoRef& package); 27 28 private: 29 BGroupLayout* fPackageListLayout; 30 31 }; 32 33 34 #endif // FEATURED_PACKAGES_VIEW_H 35