libzypp
12.16.5
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
Status.h
Go to the documentation of this file.
1
/*---------------------------------------------------------------------\
2
| ____ _ __ __ ___ |
3
| |__ / \ / / . \ . \ |
4
| / / \ V /| _/ _/ |
5
| / /__ | | | | | | |
6
| /_____||_| |_| |_| |
7
| |
8
\---------------------------------------------------------------------*/
12
#ifndef ZYPP_UI_STATUS_H
13
#define ZYPP_UI_STATUS_H
14
15
#include <iosfwd>
16
#include <string>
17
19
namespace
zypp
20
{
21
22
namespace
ui
23
{
24
34
enum
Status
35
{
36
S_Protected
,
// Keep this unmodified ( have installedObj && S_Protected )
37
S_Taboo
,
// Keep this unmodified ( have no installedObj && S_Taboo)
38
// requested by user:
39
S_Del
,
// delete installedObj ( clears S_Protected if set )
40
S_Update
,
// install candidateObj ( have installedObj, clears S_Protected if set )
41
S_Install
,
// install candidateObj ( have no installedObj, clears S_Taboo if set )
42
// not requested by user:
43
S_AutoDel
,
// delete installedObj
44
S_AutoUpdate
,
// install candidateObj ( have installedObj )
45
S_AutoInstall
,
// install candidateObj ( have no installedObj )
46
// no modification:
47
S_KeepInstalled
,
// no modification ( have installedObj && !S_Protected, clears S_Protected if set )
48
S_NoInst
,
// no modification ( have no installedObj && !S_Taboo, clears S_Taboo if set )
49
};
50
52
54
std::string
asString
(
const
Status
& obj );
55
57
59
inline
std::ostream &
operator<<
( std::ostream & str,
const
Status
& obj )
60
{
return
str <<
asString
( obj ); }
61
63
}
// namespace ui
66
}
// namespace zypp
68
#endif // ZYPP_UI_STATUS_H
zypp
ui
Status.h
Generated by
1.8.2