vnc: use enum for features
commitb0c693faa9afab66e6fcbec95437f870aba99a00
authorGerd Hoffmann <kraxel@redhat.com>
Tue, 8 Dec 2020 11:57:31 +0000 (8 12:57 +0100)
committerGerd Hoffmann <kraxel@redhat.com>
Fri, 11 Dec 2020 07:06:39 +0000 (11 08:06 +0100)
tree1a3116752e4ee1710b240e4d2f3fb8a274956d2b
parent5c4b107f88ad2679817b73445fa706c62db4d8e0
vnc: use enum for features

Use an enum for the vnc feature bits.  That way they are enumerated
automatically and we don't have to do that manually when adding or
removing features.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-id: 20201208115737.18581-4-kraxel@redhat.com
ui/vnc.h