libzypp
11.13.5
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
HistoryLog.h
Go to the documentation of this file.
1
/*---------------------------------------------------------------------\
2
| ____ _ __ __ ___ |
3
| |__ / \ / / . \ . \ |
4
| / / \ V /| _/ _/ |
5
| / /__ | | | | | | |
6
| /_____||_| |_| |_| |
7
| |
8
\---------------------------------------------------------------------*/
12
#ifndef ZYPP_TARGET_COMMITLOG_H
13
#define ZYPP_TARGET_COMMITLOG_H
14
15
#include <iosfwd>
16
17
#include "
zypp/Pathname.h
"
18
19
namespace
zypp
20
{
21
class
PoolItem;
22
class
RepoInfo;
23
25
//
26
// CLASS NAME : HistoryLog
59
class
HistoryLog
60
{
61
HistoryLog
(
const
HistoryLog
& );
62
HistoryLog
&
operator=
(
const
HistoryLog
& );
63
public
:
69
HistoryLog
(
const
Pathname & rootdir = Pathname() );
70
~HistoryLog
();
71
80
static
void
setRoot
(
const
Pathname & root );
81
85
static
const
Pathname &
fname
();
86
93
void
comment
(
const
std::string &
comment
,
bool
timestamp =
false
);
94
98
void
install
(
const
PoolItem
& pi );
99
103
void
remove
(
const
PoolItem
& pi );
104
110
void
addRepository
(
const
RepoInfo
& repo );
111
117
void
removeRepository
(
const
RepoInfo
& repo );
118
125
void
modifyRepository
(
const
RepoInfo
& oldrepo,
const
RepoInfo
& newrepo );
126
};
128
129
}
// namespace zypp
130
131
#endif // ZYPP_TARGET_COMMITLOG_H
zypp
HistoryLog.h
Generated by
1.8.1