sbuild  1.7.1
source.h
1 /* Copyright © 2005-2013 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 #ifndef SBUILD_CHROOT_FACET_SOURCE_H
20 #define SBUILD_CHROOT_FACET_SOURCE_H
21 
22 #include <sbuild/chroot/facet/facet.h>
23 
24 namespace sbuild
25 {
26  namespace chroot
27  {
28  namespace facet
29  {
30 
39  class source : public facet
40  {
41  public:
43  typedef std::shared_ptr<source> ptr;
44 
46  typedef std::shared_ptr<const source> const_ptr;
47 
48  private:
50  source ();
51 
52  public:
54  virtual ~source ();
55 
61  static ptr
62  create ();
63 
64  virtual facet::ptr
65  clone () const;
66 
67  virtual std::string const&
68  get_name () const;
69  };
70 
71  }
72  }
73 }
74 
75 #endif /* SBUILD_CHROOT_FACET_SOURCE_H */
76 
77 /*
78  * Local Variables:
79  * mode:C++
80  * End:
81  */