diff options
author | Aleksandar Kanchev <kanchev@itestra.com> | 2013-02-21 15:15:46 +0100 |
---|---|---|
committer | Aleksandar Kanchev <kanchev@itestra.com> | 2013-02-21 15:15:46 +0100 |
commit | 3cf55e3fe9a1dc5914b623d6bfcd396ec637bd86 (patch) | |
tree | e2fc977871545e787de11396bf4a9537c782277d | |
parent | 3338455fc7aebf011209fb197373ee23f6c44f62 (diff) | |
download | genivi-common-api-runtime-3cf55e3fe9a1dc5914b623d6bfcd396ec637bd86.tar.gz |
add UNKNOWN AvailabilityStatus
Support cases where we're simply waiting for a callback to set our
variable to either AVAILABLE or NOT_AVAILABLE. Without the UNKNOWN
value, another boolean variable was needed to indicate if the
AvailabilityStatus was already set.
-rw-r--r-- | src/CommonAPI/types.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/CommonAPI/types.h b/src/CommonAPI/types.h index 69ebbd1..13c36aa 100644 --- a/src/CommonAPI/types.h +++ b/src/CommonAPI/types.h @@ -13,6 +13,7 @@ namespace CommonAPI { enum class AvailabilityStatus { + UNKNOWN, AVAILABLE, NOT_AVAILABLE }; |