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