aboutsummaryrefslogtreecommitdiff
path: root/paludis/contents.hh
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/contents.hh
parent4209b95ecc83365718b3dd5556a6866a662e95c5 (diff)
downloadpaludis-dd959fd53fbc5c863ec5e9f3571e3af9ff0d8b1a.tar.gz
paludis-dd959fd53fbc5c863ec5e9f3571e3af9ff0d8b1a.tar.xz
PrivateImplementationPattern -> Pimp, Implementation -> Imp
Diffstat (limited to 'paludis/contents.hh')
-rw-r--r--paludis/contents.hh18
1 files changed, 9 insertions, 9 deletions
diff --git a/paludis/contents.hh b/paludis/contents.hh
index 8213b8e76..595aa2e9a 100644
--- a/paludis/contents.hh
+++ b/paludis/contents.hh
@@ -22,7 +22,7 @@
#include <paludis/contents-fwd.hh>
#include <paludis/util/simple_visitor.hh>
-#include <paludis/util/private_implementation_pattern.hh>
+#include <paludis/util/pimp.hh>
#include <paludis/util/type_list.hh>
#include <paludis/util/wrapped_forward_iterator.hh>
#include <paludis/util/fs_entry-fwd.hh>
@@ -51,13 +51,13 @@ namespace paludis
* \nosubgrouping
*/
class PALUDIS_VISIBLE ContentsEntry :
- private PrivateImplementationPattern<ContentsEntry>,
+ private Pimp<ContentsEntry>,
public MetadataKeyHolder,
public virtual DeclareAbstractAcceptMethods<ContentsEntry, MakeTypeList<
ContentsFileEntry, ContentsDirEntry, ContentsSymEntry, ContentsOtherEntry>::Type>
{
private:
- PrivateImplementationPattern<ContentsEntry>::ImpPtr & _imp;
+ Pimp<ContentsEntry>::ImpPtr & _imp;
protected:
virtual void need_keys_added() const;
@@ -163,12 +163,12 @@ namespace paludis
* \nosubgrouping
*/
class PALUDIS_VISIBLE ContentsSymEntry :
- private PrivateImplementationPattern<ContentsSymEntry>,
+ private Pimp<ContentsSymEntry>,
public ContentsEntry,
public ImplementAcceptMethods<ContentsEntry, ContentsSymEntry>
{
private:
- PrivateImplementationPattern<ContentsSymEntry>::ImpPtr & _imp;
+ Pimp<ContentsSymEntry>::ImpPtr & _imp;
public:
///\name Basic operations
@@ -199,7 +199,7 @@ namespace paludis
* \nosubgrouping
*/
class PALUDIS_VISIBLE Contents :
- private PrivateImplementationPattern<Contents>
+ private Pimp<Contents>
{
public:
///\name Basic operations
@@ -231,9 +231,9 @@ namespace paludis
///\}
};
- extern template class PrivateImplementationPattern<Contents>;
- extern template class PrivateImplementationPattern<ContentsEntry>;
- extern template class PrivateImplementationPattern<ContentsSymEntry>;
+ extern template class Pimp<Contents>;
+ extern template class Pimp<ContentsEntry>;
+ extern template class Pimp<ContentsSymEntry>;
extern template class WrappedForwardIterator<Contents::ConstIteratorTag, const std::shared_ptr<const ContentsEntry> >;
}