source: trunk/debathena/third/schroot/sbuild/sbuild-chroot-facet-source.cc @ 24167

Revision 24167, 1.9 KB checked in by broder, 15 years ago (diff)
Import schroot upstream into subversion.
Line 
1/* Copyright © 2005-2009  Roger Leigh <rleigh@debian.org>
2 *
3 * schroot is free software: you can redistribute it and/or modify it
4 * under the terms of the GNU General Public License as published by
5 * the Free Software Foundation, either version 3 of the License, or
6 * (at your option) any later version.
7 *
8 * schroot is distributed in the hope that it will be useful, but
9 * WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
11 * General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program.  If not, see
15 * <http://www.gnu.org/licenses/>.
16 *
17 *********************************************************************/
18
19#include <config.h>
20
21#include "sbuild-chroot.h"
22#include "sbuild-chroot-facet-source.h"
23
24#include <cassert>
25
26using boost::format;
27using std::endl;
28using namespace sbuild;
29
30chroot_facet_source::chroot_facet_source ():
31  chroot_facet()
32{
33}
34
35chroot_facet_source::~chroot_facet_source ()
36{
37}
38
39chroot_facet_source::ptr
40chroot_facet_source::create ()
41{
42  return ptr(new chroot_facet_source());
43}
44
45chroot_facet::ptr
46chroot_facet_source::clone () const
47{
48  return ptr(new chroot_facet_source(*this));
49}
50
51std::string const&
52chroot_facet_source::get_name () const
53{
54  static const std::string name("source");
55
56  return name;
57}
58
59void
60chroot_facet_source::setup_env (chroot const& chroot,
61                                environment&  env) const
62{
63}
64
65chroot::session_flags
66chroot_facet_source::get_session_flags (chroot const& chroot) const
67{
68  return chroot::SESSION_NOFLAGS;
69}
70
71void
72chroot_facet_source::get_details (chroot const&  chroot,
73                                  format_detail& detail) const
74{
75}
76
77void
78chroot_facet_source::get_keyfile (chroot const& chroot,
79                                  keyfile&      keyfile) const
80{
81}
82
83void
84chroot_facet_source::set_keyfile (chroot&        chroot,
85                                  keyfile const& keyfile,
86                                  string_list&   used_keys)
87{
88}
Note: See TracBrowser for help on using the repository browser.