libzypp 17.37.10

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/base/Flags.h>
17
18 namespace 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
zypp
Easy-to use interface to the ZYPP dependency resolver.
Definition Application.cc:20
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_armv7hnl Arch_armv7nhl ZYPP_API
Definition Arch.h:247
ZYPP_DECLARE_OPERATORS_FOR_FLAGS
#define ZYPP_DECLARE_OPERATORS_FOR_FLAGS(Name)
Definition Flags.h:177
ZYPP_DECLARE_FLAGS
#define ZYPP_DECLARE_FLAGS(Name, Enum)
Definition Flags.h:174
Flags.h