///////////////////////////////////////////////////////////////////
// connect resolvables interface and implementation.
-template<class TRes>
- struct ResImplConnect : public TRes
+template<class _Res>
+ struct ResImplConnect : public _Res
{
public:
typedef ResImplConnect Self;
- typedef typename TRes::Impl Impl;
+ typedef typename _Res::Impl Impl;
typedef zypp::base::shared_ptr<Impl> ImplPtr;
typedef zypp::base::intrusive_ptr<Self> Ptr;
typedef zypp::base::intrusive_ptr<const Self> constPtr;
};
-template<class TImpl>
- typename TImpl::ResType::Ptr
- makeResolvable( /*NVRA*/ zypp::base::shared_ptr<TImpl> & impl_r )
+template<class _Impl>
+ typename _Impl::ResType::Ptr
+ makeResolvable( /*NVRA*/ zypp::base::shared_ptr<_Impl> & impl_r )
{
- impl_r.reset( new TImpl );
- return new ResImplConnect<typename TImpl::ResType>( /*NVRA*/ impl_r );
+ impl_r.reset( new _Impl );
+ return new ResImplConnect<typename _Impl::ResType>( /*NVRA*/ impl_r );
}
///////////////////////////////////////////////////////////////////
virtual ~ObjectImpl() {};
private:
- template<class TRes>
+ template<class _Res>
friend class ResImpl;
Resolvable * _backRef;
};