-/* This one is not a Glibified enum */
-typedef enum {
- SIZE_ACCURACY_UNKNOWN,
- SIZE_ACCURACY_ESTIMATE,
- SIZE_ACCURACY_REAL
-} SizeAccuracy;
-
-/* But SizeAccuracy does apear in this Glibified (gBoxed) struct. */
-typedef struct {
- SizeAccuracy accuracy;
- guint64 bytes;
-} QualifiedSize;
-#define QUALIFIED_SIZE_TYPE qualified_size_get_type()
-GType qualified_size_get_type (void);
-
-/* Some features can only be occasionally (or unreliably) detected, so
- this enum allows the user to override the detected or default
- setting. */
-typedef enum {
- /* Feature support status. (exactly one of these is set) */
- /* Feature is supported & will be used */
- FEATURE_STATUS_ENABLED = (1 << 0),
- /* Features will not be used. */
- FEATURE_STATUS_DISABLED = (1 << 1),
-
- /* Feature support confidence. (exactly one of these is set). */
- /* Support is not based on conclusive evidence. */
- FEATURE_SURETY_BAD = (1 << 2),
- /* Support is based on conclusive evidence. */
- FEATURE_SURETY_GOOD = (1 << 3),
-
- /* Source of this information. (exactly one of these is set). */
- /* Source of status is from default setting. */
- FEATURE_SOURCE_DEFAULT = (1 << 4),
- /* Source of status is from device query. */
- FEATURE_SOURCE_DETECTED = (1 << 5),
- /* Source of status is from user override. */
- FEATURE_SOURCE_USER = (1 << 6),
-
- FEATURE_SUPPORT_FLAGS_MAX = (1 << 7)
-} FeatureSupportFlags;
-
-#define FEATURE_SUPPORT_FLAGS_MASK (FEATURE_SUPPORT_FLAGS_MAX-1)
-#define FEATURE_SUPPORT_FLAGS_STATUS_MASK (FEATURE_STATUS_ENABLED | \
- FEATURE_STATUS_DISABLED)
-#define FEATURE_SUPPORT_FLAGS_SURETY_MASK (FEATURE_SURETY_BAD | \
- FEATURE_SURETY_GOOD)
-#define FEATURE_SUPPORT_FLAGS_SOURCE_MASK (FEATURE_SOURCE_DEFAULT | \
- FEATURE_SOURCE_DETECTED | \
- FEATURE_SOURCE_USER)
-/* Checks that mutually exclusive flags are not set. */
-gboolean feature_support_flags_is_valid(FeatureSupportFlags);
-#define FEATURE_SUPPORT_FLAGS_TYPE feature_support_get_type()
-GType feature_support_get_type (void);
-