00001 #ifndef DEBTAGS_MAINTAINER_H
00002 #define DEBTAGS_MAINTAINER_H
00003
00004 #pragma interface
00005
00006 #include <string>
00007
00008 namespace Debtags
00009 {
00010
00011 class AvailableReader;
00012 class Package;
00013 class PackageSet;
00014 class MaintainerSet;
00015 class MaintainerImpl;
00016 class StandardEnvironment;
00017
00018 class Maintainer
00019 {
00020 protected:
00021 MaintainerImpl* impl;
00022
00023 public:
00024 Maintainer() throw ();
00025 explicit Maintainer(const std::string& email) throw ();
00026 Maintainer(const Maintainer& f) throw ();
00027 ~Maintainer() throw ();
00028 Maintainer& operator=(const Maintainer& f) throw ();
00029
00030 bool operator==(const Maintainer& f) const throw ();
00031 bool operator<(const Maintainer& f) const throw ();
00032
00033 operator bool() const throw ();
00034
00035 const std::string& email() const throw ();
00036 const std::string& fullname() const throw ();
00037
00038 const PackageSet& packages() const throw ();
00039
00040 void addPackage(const Package& pkg) const throw ();
00041 void fullname(const std::string& fullname) throw ();
00042 };
00043
00044 };
00045
00046
00047 #endif