libzypp: zypp/VendorSupportOptions.h Source File

libzypp 17.38.14

VendorSupportOptions.h
Go to the documentation of this file.
1/*---------------------------------------------------------------------\
2| ____ _ __ __ ___ |
3| |__ / \ / / . \ . \ |
4| / / \ V /| _/ _/ |
5| / /__ | | | | | | |
6| /_____||_| |_| |_| |
7| |
8\---------------------------------------------------------------------*/
12#ifndef ZYPP_VendorSupportOptions_H
13#define ZYPP_VendorSupportOptions_H
14
15#include <string>
16#include <zypp-core/base/Flags.h>
17
18namespace zypp
19{
20
21 enum VendorSupportOption
22 {
26 VendorSupportUnknown = 0,
30 VendorSupportUnsupported = (1<<0),
34 VendorSupportACC = (1<<1),
44 VendorSupportLevel1 = (1<<2),
52 VendorSupportLevel2 = (1<<3),
60 VendorSupportLevel3 = (1<<4),
61
74 VendorSupportSuperseded = (1<<5),
75 };
76
77 // Make a flag set for this
78 ZYPP_DECLARE_FLAGS(VendorSupportOptions,VendorSupportOption);
79 ZYPP_DECLARE_OPERATORS_FOR_FLAGS(VendorSupportOptions)
80
81
88 std::string asUserString( VendorSupportOption ) ZYPP_API;
89
97 std::string asUserStringDescription( VendorSupportOption ) ZYPP_API;
98
99}
100
101#endif
Flags.h
ZYPP_DECLARE_OPERATORS_FOR_FLAGS
#define ZYPP_DECLARE_OPERATORS_FOR_FLAGS(Name)
relates: Flags
Definition Flags.h:177
ZYPP_DECLARE_FLAGS
#define ZYPP_DECLARE_FLAGS(Name, Enum)
relates: Flags
Definition Flags.h:174
zypp
Easy-to use interface to the ZYPP dependency resolver.
Definition CodePitfalls.doc:2
zypp::asUserStringDescription
std::string asUserStringDescription(VendorSupportOption opt)
converts the support option to a description intended to be printed to the user.
Definition VendorSupportOptions.cc:36
zypp::asUserString
std::string asUserString(VendorSupportOption opt)
converts the support option to a name intended to be printed to the user.
Definition VendorSupportOptions.cc:9
zypp::VendorSupportOption
VendorSupportOption
Definition VendorSupportOptions.h:22
zypp::VendorSupportACC
@ VendorSupportACC
Additional Customer Contract necessary.
Definition VendorSupportOptions.h:34
zypp::VendorSupportLevel3
@ VendorSupportLevel3
Problem resolution, which means technical support designed to resolve complex problems by engaging en...
Definition VendorSupportOptions.h:60
zypp::VendorSupportUnknown
@ VendorSupportUnknown
The support for this package is unknown.
Definition VendorSupportOptions.h:26
zypp::VendorSupportLevel1
@ VendorSupportLevel1
Problem determination, which means technical support designed to provide compatibility information,...
Definition VendorSupportOptions.h:44
zypp::VendorSupportSuperseded
@ VendorSupportSuperseded
The package was discontinued and has been superseded by a new package with a different name.
Definition VendorSupportOptions.h:74
zypp::VendorSupportUnsupported
@ VendorSupportUnsupported
The package is known to be unsupported by the vendor.
Definition VendorSupportOptions.h:30
zypp::VendorSupportLevel2
@ VendorSupportLevel2
Problem isolation, which means technical support designed to duplicate customer problems,...
Definition VendorSupportOptions.h:52
zypp::ZYPP_API
const Arch Arch_empty ZYPP_API
relates: Arch This is an empty Arch represented by an empty string.
Definition Arch.h:173