sbuild  1.6.10
sbuild-feature.h
1 /* Copyright © 2011 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_FEATURE_H
20 #define SBUILD_FEATURE_H
21 
22 #include <map>
23 #include <ostream>
24 #include <string>
25 
26 #include <boost/format.hpp>
27 
28 namespace sbuild
29 {
30 
31  class feature
32  {
33  public:
34  feature (std::string const& feature,
35  std::string const& description);
36 
37  ~feature ();
38 
39  static std::ostream&
40  print_features (std::ostream& stream);
41 
42  private:
43  static std::map<std::string,std::string>&
44  registered_features ();
45  };
46 
47 }
48 
49 #endif /* SBUILD_FEATURE_H */
50 
51 /*
52  * Local Variables:
53  * mode:C++
54  * End:
55  */
Debian source builder components.
Definition: sbuild-auth-null.h:24
Definition: sbuild-feature.h:31