~ubuntu-branches/ubuntu/maverick/schroot/maverick

« back to all changes in this revision

Viewing changes to sbuild/sbuild-chroot-facet-source-clonable.h

  • Committer: Bazaar Package Importer
  • Author(s): Roger Leigh
  • Date: 2010-07-06 23:34:30 UTC
  • mfrom: (1.1.24 upstream) (2.2.9 sid)
  • Revision ID: james.westby@ubuntu.com-20100706233430-0xhzqj6105yuyvb1
Tags: 1.4.7-1
* New upstream stable release.
* Use standards version 3.9.0.
* Correctly distribute profile conffiles (Closes: #588247).  Thanks
  to Mario Holbe.
* Update it and zh_CN translations.  Thanks to Vincenzo Campanella
  and Ji ZhengYu.

Show diffs side-by-side

added added

removed removed

Lines of Context:
72
72
    clone_source_setup (chroot::ptr& clone) const;
73
73
 
74
74
    /**
 
75
     * Is cloning a source chroot automatically permitted?  Note that
 
76
     * this is merely a hint and does not prevent cloning.
 
77
     *
 
78
     * @returns a list of clone.
 
79
     */
 
80
    virtual bool
 
81
    get_source_clone () const;
 
82
 
 
83
    /**
 
84
     * Set if cloning a source chroot automatically is permitted.
 
85
     * Note that this is merely a hint and does not prevent cloning.
 
86
     *
 
87
     * @param clone true to automatically clone, otherwise false.
 
88
     */
 
89
    virtual void
 
90
    set_source_clone (bool clone);
 
91
 
 
92
    /**
75
93
     * Get the users allowed to access the source chroot.
76
94
     *
77
95
     * @returns a list of users.
164
182
                 string_list&   used_keys);
165
183
 
166
184
  private:
 
185
    /// Is source chroot cloning permitted?
 
186
    bool          source_clone;
167
187
    /// Users allowed to access the source chroot.
168
188
    string_list   source_users;
169
189
    /// Groups allowed to access the source chroot.