]> git.mxchange.org Git - simgear.git/commit
Package: support for variants
authorJames Turner <zakalawe@mac.com>
Sun, 15 Jun 2014 17:55:50 +0000 (19:55 +0200)
committerJames Turner <zakalawe@mac.com>
Sun, 15 Jun 2014 17:55:50 +0000 (19:55 +0200)
commitbb5e07d958e175717e9e8699b13fa53fe4312079
tree74e2b0097e412a43ea6c8cd4035b3e2c65ab565f
parent5024b62c0a86b2b4d830c1b9aa3781c795507752
Package: support for variants

- Catalog keeps a map from variant IDs to packages
- Package caches its ID
- Refreshing a catalog updates existing Package instances

Dropping a package from a Catalog will now warn, need to decide
a real policy for this scenario.
simgear/package/Catalog.cxx
simgear/package/Catalog.hxx
simgear/package/Package.cxx
simgear/package/Package.hxx