aboutsummaryrefslogtreecommitdiff
path: root/paludis/repositories/e/e_mask.hh
diff options
context:
space:
mode:
Diffstat (limited to 'paludis/repositories/e/e_mask.hh')
-rw-r--r--paludis/repositories/e/e_mask.hh22
1 files changed, 3 insertions, 19 deletions
diff --git a/paludis/repositories/e/e_mask.hh b/paludis/repositories/e/e_mask.hh
index 7ba03ffba..550ef0560 100644
--- a/paludis/repositories/e/e_mask.hh
+++ b/paludis/repositories/e/e_mask.hh
@@ -22,27 +22,11 @@
#include <paludis/mask.hh>
#include <paludis/util/pimp.hh>
-#include <paludis/util/singleton.hh>
namespace paludis
{
namespace erepository
{
- class EUnacceptedMaskStore :
- public Singleton<EUnacceptedMaskStore>
- {
- friend class Singleton<EUnacceptedMaskStore>;
-
- private:
- Pimp<EUnacceptedMaskStore> _imp;
-
- EUnacceptedMaskStore();
- ~EUnacceptedMaskStore();
-
- public:
- const std::shared_ptr<const UnacceptedMask> fetch(const char, const std::string &, const std::string &);
- };
-
class EUnsupportedMask :
public UnsupportedMask
{
@@ -76,10 +60,10 @@ namespace paludis
virtual const std::string token() const;
virtual const FSPath mask_file() const;
};
- }
- extern template class Singleton<erepository::EUnacceptedMaskStore>;
- extern template class Pimp<erepository::EUnacceptedMaskStore>;
+ const std::shared_ptr<const UnacceptedMask> create_e_unaccepted_mask(
+ const char c, const std::string & s, const std::string & k);
+ }
}
#endif