/usr/include/x86_64-linux-gnu/zypp/Changelog.h is in libzypp-dev 15.3.0-1build1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 | /*---------------------------------------------------------------------\
| ____ _ __ __ ___ |
| |__ / \ / / . \ . \ |
| / / \ V /| _/ _/ |
| / /__ | | | | | | |
| /_____||_| |_| |_| |
| |
\---------------------------------------------------------------------*/
/** \file zypp/Changelog.h
*
*/
#ifndef ZYPP_CHANGELOG_H
#define ZYPP_CHANGELOG_H
#include <string>
#include <list>
#include "zypp/Date.h"
///////////////////////////////////////////////////////////////////
namespace zypp
{ /////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////
//
// CLASS NAME : ChangelogEntry
//
/** Single entry in a change log
*/
class ChangelogEntry
{
public:
/** Default ctor */
ChangelogEntry( const Date & d,
const std::string & a,
const std::string & t )
: _date( d ), _author( a ), _text( t )
{};
/** Dtor */
~ChangelogEntry()
{}
Date date() const { return _date; }
std::string author() const { return _author; }
std::string text() const { return _text; }
private:
Date _date;
std::string _author;
std::string _text;
};
/** List of ChangelogEntry. */
typedef std::list<ChangelogEntry> Changelog;
/** \relates ChangelogEntry */
std::ostream & operator<<( std::ostream & out, const ChangelogEntry & obj );
///////////////////////////////////////////////////////////////////
} // namespace zypp
///////////////////////////////////////////////////////////////////
#endif // ZYPP_CHANGELOG_H
|