Mailinglist Archive: zypp-commit (223 mails)

< Previous Next >
[zypp-commit] r10704 - in /trunk/libzypp/zypp: RepoInfo.cc RepoInfo.h ServiceInfo.cc ServiceInfo.h repo/RepoInfoBase.cc repo/RepoInfoBase.h
  • From: jkupec@xxxxxxxxxxxxxxxx
  • Date: Thu, 31 Jul 2008 08:14:58 -0000
  • Message-id: <20080731081458.97FD324AC9@xxxxxxxxxxxxxxxx>
Author: jkupec
Date: Thu Jul 31 10:14:58 2008
New Revision: 10704

URL: http://svn.opensuse.org/viewcvs/zypp?rev=10704&view=rev
Log:
- pointer types added for RepoInfos

Modified:
trunk/libzypp/zypp/RepoInfo.cc
trunk/libzypp/zypp/RepoInfo.h
trunk/libzypp/zypp/ServiceInfo.cc
trunk/libzypp/zypp/ServiceInfo.h
trunk/libzypp/zypp/repo/RepoInfoBase.cc
trunk/libzypp/zypp/repo/RepoInfoBase.h

Modified: trunk/libzypp/zypp/RepoInfo.cc
URL:
http://svn.opensuse.org/viewcvs/zypp/trunk/libzypp/zypp/RepoInfo.cc?rev=10704&r1=10703&r2=10704&view=diff
==============================================================================
--- trunk/libzypp/zypp/RepoInfo.cc (original)
+++ trunk/libzypp/zypp/RepoInfo.cc Thu Jul 31 10:14:58 2008
@@ -88,6 +88,8 @@
//
///////////////////////////////////////////////////////////////////

+ IMPL_PTR_TYPE(RepoInfo);
+
///////////////////////////////////////////////////////////////////
//
// METHOD NAME : RepoInfo::RepoInfo

Modified: trunk/libzypp/zypp/RepoInfo.h
URL:
http://svn.opensuse.org/viewcvs/zypp/trunk/libzypp/zypp/RepoInfo.h?rev=10704&r1=10703&r2=10704&view=diff
==============================================================================
--- trunk/libzypp/zypp/RepoInfo.h (original)
+++ trunk/libzypp/zypp/RepoInfo.h Thu Jul 31 10:14:58 2008
@@ -28,6 +28,8 @@
namespace zypp
{ /////////////////////////////////////////////////////////////////

+ DEFINE_PTR_TYPE(RepoInfo);
+
///////////////////////////////////////////////////////////////////
//
// CLASS NAME : RepoInfo

Modified: trunk/libzypp/zypp/ServiceInfo.cc
URL:
http://svn.opensuse.org/viewcvs/zypp/trunk/libzypp/zypp/ServiceInfo.cc?rev=10704&r1=10703&r2=10704&view=diff
==============================================================================
--- trunk/libzypp/zypp/ServiceInfo.cc (original)
+++ trunk/libzypp/zypp/ServiceInfo.cc Thu Jul 31 10:14:58 2008
@@ -65,6 +65,8 @@
//
///////////////////////////////////////////////////////////////////

+ IMPL_PTR_TYPE(ServiceInfo);
+
const ServiceInfo ServiceInfo::noService;

ServiceInfo::ServiceInfo() : _pimpl( new Impl() ) {}

Modified: trunk/libzypp/zypp/ServiceInfo.h
URL:
http://svn.opensuse.org/viewcvs/zypp/trunk/libzypp/zypp/ServiceInfo.h?rev=10704&r1=10703&r2=10704&view=diff
==============================================================================
--- trunk/libzypp/zypp/ServiceInfo.h (original)
+++ trunk/libzypp/zypp/ServiceInfo.h Thu Jul 31 10:14:58 2008
@@ -23,6 +23,7 @@
namespace zypp
{ /////////////////////////////////////////////////////////////////

+ DEFINE_PTR_TYPE(ServiceInfo);

///////////////////////////////////////////////////////////////////
//

Modified: trunk/libzypp/zypp/repo/RepoInfoBase.cc
URL:
http://svn.opensuse.org/viewcvs/zypp/trunk/libzypp/zypp/repo/RepoInfoBase.cc?rev=10704&r1=10703&r2=10704&view=diff
==============================================================================
--- trunk/libzypp/zypp/repo/RepoInfoBase.cc (original)
+++ trunk/libzypp/zypp/repo/RepoInfoBase.cc Thu Jul 31 10:14:58 2008
@@ -59,6 +59,8 @@
//
///////////////////////////////////////////////////////////////////

+ IMPL_PTR_TYPE(RepoInfoBase);
+
///////////////////////////////////////////////////////////////////
//
// METHOD NAME : RepoInfoBase::RepoInfoBase

Modified: trunk/libzypp/zypp/repo/RepoInfoBase.h
URL:
http://svn.opensuse.org/viewcvs/zypp/trunk/libzypp/zypp/repo/RepoInfoBase.h?rev=10704&r1=10703&r2=10704&view=diff
==============================================================================
--- trunk/libzypp/zypp/repo/RepoInfoBase.h (original)
+++ trunk/libzypp/zypp/repo/RepoInfoBase.h Thu Jul 31 10:14:58 2008
@@ -15,6 +15,7 @@
#include <iosfwd>

#include "zypp/base/PtrTypes.h"
+#include "zypp/base/ReferenceCounted.h"

#include "zypp/Pathname.h"

@@ -25,7 +26,8 @@
namespace repo
{ /////////////////////////////////////////////////////////////////

-
+ DEFINE_PTR_TYPE(RepoInfoBase);
+
///////////////////////////////////////////////////////////////////
//
// CLASS NAME : RepoInfoBase
@@ -34,7 +36,7 @@
* \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 );


--
To unsubscribe, e-mail: zypp-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: zypp-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages