aboutsummaryrefslogtreecommitdiff
path: root/paludis/repositories/e/info_metadata_key.cc
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2010-07-23 08:54:11 +0100
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2010-07-23 08:54:11 +0100
commitdd959fd53fbc5c863ec5e9f3571e3af9ff0d8b1a (patch)
treeba2da539f103634b8ddb52a477bbace3b4a52c57 /paludis/repositories/e/info_metadata_key.cc
parent4209b95ecc83365718b3dd5556a6866a662e95c5 (diff)
downloadpaludis-dd959fd53fbc5c863ec5e9f3571e3af9ff0d8b1a.tar.gz
paludis-dd959fd53fbc5c863ec5e9f3571e3af9ff0d8b1a.tar.xz
PrivateImplementationPattern -> Pimp, Implementation -> Imp
Diffstat (limited to 'paludis/repositories/e/info_metadata_key.cc')
-rw-r--r--paludis/repositories/e/info_metadata_key.cc20
1 files changed, 10 insertions, 10 deletions
diff --git a/paludis/repositories/e/info_metadata_key.cc b/paludis/repositories/e/info_metadata_key.cc
index 599f6e64b..2396412cb 100644
--- a/paludis/repositories/e/info_metadata_key.cc
+++ b/paludis/repositories/e/info_metadata_key.cc
@@ -20,7 +20,7 @@
#include <paludis/repositories/e/info_metadata_key.hh>
#include <paludis/repositories/e/eapi.hh>
#include <paludis/repositories/e/e_repository.hh>
-#include <paludis/util/private_implementation_pattern-impl.hh>
+#include <paludis/util/pimp-impl.hh>
#include <paludis/util/fs_entry.hh>
#include <paludis/util/mutex.hh>
#include <paludis/util/config_file.hh>
@@ -50,21 +50,21 @@ using namespace paludis::erepository;
namespace paludis
{
template <>
- struct Implementation<InfoVarsMetadataKey>
+ struct Imp<InfoVarsMetadataKey>
{
const std::shared_ptr<const FSEntrySequence> locations;
mutable Mutex mutex;
mutable std::shared_ptr<Set<std::string> > value;
- Implementation(const std::shared_ptr<const FSEntrySequence> & l) :
+ Imp(const std::shared_ptr<const FSEntrySequence> & l) :
locations(l)
{
}
};
template <>
- struct Implementation<InfoPkgsMetadataKey>
+ struct Imp<InfoPkgsMetadataKey>
{
const Environment * const env;
const std::shared_ptr<const FSEntrySequence> locations;
@@ -73,7 +73,7 @@ namespace paludis
mutable Mutex mutex;
mutable bool added;
- Implementation(const Environment * const e, const std::shared_ptr<const FSEntrySequence> & l,
+ Imp(const Environment * const e, const std::shared_ptr<const FSEntrySequence> & l,
const ERepository * const r) :
env(e),
locations(l),
@@ -85,7 +85,7 @@ namespace paludis
}
InfoVarsMetadataKey::InfoVarsMetadataKey(const std::shared_ptr<const FSEntrySequence> & f) :
- PrivateImplementationPattern<InfoVarsMetadataKey>(f)
+ Pimp<InfoVarsMetadataKey>(f)
{
}
@@ -140,8 +140,8 @@ InfoVarsMetadataKey::type() const
InfoPkgsMetadataKey::InfoPkgsMetadataKey(const Environment * const e,
const std::shared_ptr<const FSEntrySequence> & f,
const ERepository * const r) :
- PrivateImplementationPattern<InfoPkgsMetadataKey>(e, f, r),
- _imp(PrivateImplementationPattern<InfoPkgsMetadataKey>::_imp)
+ Pimp<InfoPkgsMetadataKey>(e, f, r),
+ _imp(Pimp<InfoPkgsMetadataKey>::_imp)
{
}
@@ -240,6 +240,6 @@ InfoPkgsMetadataKey::type() const
}
-template class PrivateImplementationPattern<InfoPkgsMetadataKey>;
-template class PrivateImplementationPattern<InfoVarsMetadataKey>;
+template class Pimp<InfoPkgsMetadataKey>;
+template class Pimp<InfoVarsMetadataKey>;