projects
/
platform
/
upstream
/
libzypp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
83073e3
)
Added installtime to public package interface
author
Jiri Srain
<jsrain@suse.cz>
Tue, 3 Jan 2006 15:31:57 +0000
(15:31 +0000)
committer
Jiri Srain
<jsrain@suse.cz>
Tue, 3 Jan 2006 15:31:57 +0000
(15:31 +0000)
zypp/Package.cc
patch
|
blob
|
history
zypp/Package.h
patch
|
blob
|
history
diff --git
a/zypp/Package.cc
b/zypp/Package.cc
index
1e899f3
..
979cbf3
100644
(file)
--- a/
zypp/Package.cc
+++ b/
zypp/Package.cc
@@
-45,6
+45,9
@@
namespace zypp
Changelog Package::changelog()
{ return pimpl().changelog(); }
Changelog Package::changelog()
{ return pimpl().changelog(); }
+ /** Time of package installation */
+ Date Package::installtime()
+ { return pimpl().installtime(); }
/////////////////////////////////////////////////////////////////
} // namespace zypp
///////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////
} // namespace zypp
///////////////////////////////////////////////////////////////////
diff --git
a/zypp/Package.h
b/zypp/Package.h
index
44a005d
..
ba3bc89
100644
(file)
--- a/
zypp/Package.h
+++ b/
zypp/Package.h
@@
-35,7
+35,10
@@
namespace zypp
typedef TraitsType::constPtrType constPtr;
public:
typedef TraitsType::constPtrType constPtr;
public:
- /** */
+ /** Time of package installation */
+ Date installtime();
+ /** Get the package change log */
+ Changelog changelog();
// data here:
protected:
// data here:
protected:
@@
-45,8
+48,6
@@
namespace zypp
const Arch & arch_r );
/** Dtor */
virtual ~Package();
const Arch & arch_r );
/** Dtor */
virtual ~Package();
- /** Get the package change log */
- Changelog changelog();
private:
/** Access implementation */
private:
/** Access implementation */