- added Package::location()
authorLadislav Slezak <lslezak@suse.cz>
Wed, 15 Feb 2006 11:57:07 +0000 (11:57 +0000)
committerLadislav Slezak <lslezak@suse.cz>
Wed, 15 Feb 2006 11:57:07 +0000 (11:57 +0000)
zypp/Package.cc
zypp/Package.h
zypp/detail/PackageImplIf.h

index bfe2e63..0e323f5 100644 (file)
@@ -184,6 +184,9 @@ namespace zypp
   unsigned Package::mediaId() const
   { return pimpl().mediaId(); }
 
+  Pathname Package::location() const
+  { return pimpl().location(); }
+
   /////////////////////////////////////////////////////////////////
 } // namespace zypp
 ///////////////////////////////////////////////////////////////////
index 774113b..e4623f3 100644 (file)
@@ -105,6 +105,8 @@ namespace zypp
     bool installOnly() const;
     /** ID of the media */
     unsigned mediaId() const;
+    /** location in source */
+    Pathname location() const;
 
     // data here:
  
index 1eb2e1c..70f484f 100644 (file)
@@ -132,8 +132,6 @@ namespace zypp
       /** */
       virtual void du( PkgDu & dudata_r ) const PURE_VIRTUAL;
       /** */
-      virtual std::string location() const PURE_VIRTUAL;
-      /** */
       virtual unsigned int medianr() const PURE_VIRTUAL;
       /** */
       virtual PackageKeywords keywords() const PURE_VIRTUAL;