aboutsummaryrefslogtreecommitdiff
path: root/paludis/repositories/fake/fake_package_id.hh
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2008-07-13 16:54:47 +0100
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2008-07-13 16:57:08 +0100
commit8d35eb9f91a617d6b0ebf487fe45d277e45e0d53 (patch)
treeea61dbe3c8c9679e334f3df93d1efd3e9e60ccf6 /paludis/repositories/fake/fake_package_id.hh
parentb55f8208939c94c4cb723a151061ca09dc7ea7c4 (diff)
downloadpaludis-8d35eb9f91a617d6b0ebf487fe45d277e45e0d53.tar.gz
paludis-8d35eb9f91a617d6b0ebf487fe45d277e45e0d53.tar.xz
Let FakePackageID be masked.
Diffstat (limited to 'paludis/repositories/fake/fake_package_id.hh')
-rw-r--r--paludis/repositories/fake/fake_package_id.hh14
1 files changed, 14 insertions, 0 deletions
diff --git a/paludis/repositories/fake/fake_package_id.hh b/paludis/repositories/fake/fake_package_id.hh
index 95d513e25..a709408f4 100644
--- a/paludis/repositories/fake/fake_package_id.hh
+++ b/paludis/repositories/fake/fake_package_id.hh
@@ -177,6 +177,18 @@ namespace paludis
const std::tr1::shared_ptr<const MetadataKey> unaccepted_key() const;
};
+ class PALUDIS_VISIBLE FakeUnsupportedMask :
+ public UnsupportedMask
+ {
+ public:
+ FakeUnsupportedMask();
+ ~FakeUnsupportedMask();
+
+ char key() const;
+ const std::string description() const;
+ const std::string explanation() const;
+ };
+
/**
* A PackageID in a FakeRepository or a FakeInstalledRepository.
*
@@ -269,6 +281,8 @@ namespace paludis
virtual void invalidate_masks() const;
+ void make_unsupported();
+
};
}