diff options
author | Jan-Marek Glogowski <glogow@fbihome.de> | 2009-05-20 19:55:52 +0200 |
---|---|---|
committer | Roger Leigh <rleigh@debian.org> | 2009-06-14 22:45:39 +0100 |
commit | 8a8ded0993e4a911c1a3f3ea6acf3022e1c60723 (patch) | |
tree | 7eebe86708fdbe6788044dfcf1f9b886a51f9ef9 /sbuild/sbuild-chroot-directory.h | |
parent | a3bb05057c34d04d32e6c005630d962dbcbc8f2c (diff) | |
download | schroot-8a8ded0993e4a911c1a3f3ea6acf3022e1c60723.tar.gz |
[sbuild::chroot_directory] Inherit from chroot_plain
Diffstat (limited to 'sbuild/sbuild-chroot-directory.h')
-rw-r--r-- | sbuild/sbuild-chroot-directory.h | 35 |
1 files changed, 1 insertions, 34 deletions
diff --git a/sbuild/sbuild-chroot-directory.h b/sbuild/sbuild-chroot-directory.h index fda21f5b..d1a5a136 100644 --- a/sbuild/sbuild-chroot-directory.h +++ b/sbuild/sbuild-chroot-directory.h @@ -27,7 +27,7 @@ namespace sbuild /** * A chroot located in the filesystem. */ - class chroot_directory : virtual public chroot + class chroot_directory : public chroot_plain { protected: /// The constructor. @@ -42,31 +42,12 @@ namespace sbuild virtual chroot::ptr clone () const; - /** - * Get the directory containing the chroot. - * - * @returns the location. - */ - std::string const& - get_directory () const; - - /** - * Set the directory containing the chroot. - * - * @param directory the directory. - */ - void - set_directory (std::string const& directory); - virtual std::string get_path () const; virtual std::string const& get_chroot_type () const; - virtual void - setup_env (environment& env); - virtual session_flags get_session_flags () const; @@ -75,20 +56,6 @@ namespace sbuild setup_lock (chroot::setup_type type, bool lock, int status); - - virtual void - get_details (format_detail& detail) const; - - virtual void - get_keyfile (keyfile& keyfile) const; - - virtual void - set_keyfile (keyfile const& keyfile, - string_list& used_keys); - - private: - /// The directory to use. - std::string directory; }; } |