//
///////////////////////////////////////////////////////////////////
+ IMPL_PTR_TYPE(RepoInfo);
+
///////////////////////////////////////////////////////////////////
//
// METHOD NAME : RepoInfo::RepoInfo
namespace zypp
{ /////////////////////////////////////////////////////////////////
+ DEFINE_PTR_TYPE(RepoInfo);
+
///////////////////////////////////////////////////////////////////
//
// CLASS NAME : RepoInfo
//
///////////////////////////////////////////////////////////////////
+ IMPL_PTR_TYPE(ServiceInfo);
+
const ServiceInfo ServiceInfo::noService;
ServiceInfo::ServiceInfo() : _pimpl( new Impl() ) {}
namespace zypp
{ /////////////////////////////////////////////////////////////////
+ DEFINE_PTR_TYPE(ServiceInfo);
///////////////////////////////////////////////////////////////////
//
//
///////////////////////////////////////////////////////////////////
+ IMPL_PTR_TYPE(RepoInfoBase);
+
///////////////////////////////////////////////////////////////////
//
// METHOD NAME : RepoInfoBase::RepoInfoBase
#include <iosfwd>
#include "zypp/base/PtrTypes.h"
+#include "zypp/base/ReferenceCounted.h"
#include "zypp/Pathname.h"
namespace repo
{ /////////////////////////////////////////////////////////////////
-
+ DEFINE_PTR_TYPE(RepoInfoBase);
+
///////////////////////////////////////////////////////////////////
//
// CLASS NAME : RepoInfoBase
* \short Base class implementing common features of \ref RepoInfo and
* \ref ServiceInfo.
*/
- class RepoInfoBase
+ class RepoInfoBase : public base::ReferenceCounted
{
friend std::ostream & operator<<( std::ostream & str, const RepoInfoBase & obj );