diff options
Diffstat (limited to 'lib/sbuild/chroot/facet/factory.h')
-rw-r--r-- | lib/sbuild/chroot/facet/factory.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/sbuild/chroot/facet/factory.h b/lib/sbuild/chroot/facet/factory.h index 15e6ad4d..d487c6bf 100644 --- a/lib/sbuild/chroot/facet/factory.h +++ b/lib/sbuild/chroot/facet/factory.h @@ -38,8 +38,13 @@ namespace sbuild public: struct facet_info { + /// Facet name. std::string name; + /// Facet description. std::string description; + /// Install in a chroot automatically on chroot creation. + bool auto_install; + /// Function to create an instance of this facet. facet::ptr (*create)(); }; @@ -53,6 +58,9 @@ namespace sbuild static facet::ptr create (const std::string& name); + static std::vector<facet::ptr> + create_auto (); + private: typedef std::map<std::string,const facet_info *> map_type; |