PackagesWindow can show just the packages from an installer.

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@905 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
twanvl
2008-05-31 14:36:23 +00:00
parent 9c18ed51e2
commit c8d8d72abc
10 changed files with 82 additions and 32 deletions
+4 -1
View File
@@ -18,7 +18,7 @@
/// A list of installed and downloadable packages
class PackageUpdateList : public TreeList {
public:
PackageUpdateList(Window* parent, const InstallablePackages& packages, int id = wxID_ANY);
PackageUpdateList(Window* parent, const InstallablePackages& packages, bool show_only_installable, int id = wxID_ANY);
~PackageUpdateList();
inline InstallablePackageP getSelection() const {
@@ -39,7 +39,10 @@ class PackageUpdateList : public TreeList {
virtual int columnWidth(size_t column) const;
private:
/// The list of packages we are displaying
const InstallablePackages& packages;
/// Show only packages with an installer?
bool show_only_installable;
class TreeItem;
public: