1 /*---------------------------------------------------------------------\
3 | |__ / \ / / . \ . \ |
8 \---------------------------------------------------------------------*/
9 /** \file zypp/Changelog.h
12 #ifndef ZYPP_CHANGELOG_H
13 #define ZYPP_CHANGELOG_H
18 #include "zypp/Date.h"
20 ///////////////////////////////////////////////////////////////////
22 { /////////////////////////////////////////////////////////////////
24 ///////////////////////////////////////////////////////////////////
26 // CLASS NAME : ChangelogEntry
28 /** Single entry in a change log
34 ChangelogEntry( const Date & d,
35 const std::string & a,
36 const std::string & t )
37 : _date( d ), _author( a ), _text( t )
42 Date date() const { return _date; }
43 std::string author() const { return _author; }
44 std::string text() const { return _text; }
52 /** List of ChangelogEntry. */
53 typedef std::list<ChangelogEntry> Changelog;
55 /** \relates ChangelogEntry */
56 std::ostream & operator<<( std::ostream & out, const ChangelogEntry & obj );
58 ///////////////////////////////////////////////////////////////////
60 ///////////////////////////////////////////////////////////////////
62 #endif // ZYPP_CHANGELOG_H