Added installtime to public package interface
authorJiri Srain <jsrain@suse.cz>
Tue, 3 Jan 2006 15:31:57 +0000 (15:31 +0000)
committerJiri Srain <jsrain@suse.cz>
Tue, 3 Jan 2006 15:31:57 +0000 (15:31 +0000)
zypp/Package.cc
zypp/Package.h

index 1e899f3..979cbf3 100644 (file)
@@ -45,6 +45,9 @@ namespace zypp
   Changelog Package::changelog()
   { return pimpl().changelog(); }
 
+  /** Time of package installation */
+  Date Package::installtime()
+  { return pimpl().installtime(); }
   /////////////////////////////////////////////////////////////////
 } // namespace zypp
 ///////////////////////////////////////////////////////////////////
index 44a005d..ba3bc89 100644 (file)
@@ -35,7 +35,10 @@ namespace zypp
     typedef TraitsType::constPtrType constPtr;
 
   public:
-    /** */
+    /** Time of package installation */
+    Date installtime();
+    /** Get the package change log */
+    Changelog changelog();
     // data here:
 
   protected:
@@ -45,8 +48,6 @@ namespace zypp
              const Arch & arch_r );
     /** Dtor */
     virtual ~Package();
-    /** Get the package change log */
-    Changelog changelog();
 
   private:
     /** Access implementation */