]> source.dussan.org Git - tigervnc.git/commit
Require all SMsgWriter caller to check capabilities
authorPierre Ossman <ossman@cendio.se>
Mon, 29 Oct 2018 09:03:37 +0000 (10:03 +0100)
committerPierre Ossman <ossman@cendio.se>
Mon, 10 Dec 2018 19:19:43 +0000 (20:19 +0100)
commit7b8bc438a5d156007df3d84bc1c1d3a0d386116a
tree3c036ca4d1172c04b39a12e1e9f0b69927bcdd8a
parent2daba9b2049a9943eaed3dca1c36567ba1a84860
Require all SMsgWriter caller to check capabilities

Make the API consisitent by requiring the caller to check what the client
supports before calling any of the write* functions. This avoids the
confusion that the functions might not always do anything.
common/rfb/SMsgWriter.cxx
common/rfb/SMsgWriter.h
common/rfb/VNCSConnectionST.cxx