aboutsummaryrefslogtreecommitdiffstats
path: root/common/rfb/VNCSConnectionST.h
diff options
context:
space:
mode:
authorPierre Ossman <ossman@cendio.se>2022-09-10 13:19:41 +0200
committerPierre Ossman <ossman@cendio.se>2023-02-01 21:17:12 +0100
commit6881c895ab317bd302addac5f228b7367136017f (patch)
tree18d1119f59209147d97e873c3dbc9be36e429aaf /common/rfb/VNCSConnectionST.h
parentbaca73d03217a1c219d9c4f024ffcd39f85fd322 (diff)
downloadtigervnc-6881c895ab317bd302addac5f228b7367136017f.tar.gz
tigervnc-6881c895ab317bd302addac5f228b7367136017f.zip
Use stdint types
Avoid having our own custom stuff and instead use the modern, standard types, for familiarity.
Diffstat (limited to 'common/rfb/VNCSConnectionST.h')
-rw-r--r--common/rfb/VNCSConnectionST.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/common/rfb/VNCSConnectionST.h b/common/rfb/VNCSConnectionST.h
index 72b0c529..23215d24 100644
--- a/common/rfb/VNCSConnectionST.h
+++ b/common/rfb/VNCSConnectionST.h
@@ -71,7 +71,7 @@ namespace rfb {
// Wrappers to make these methods "safe" for VNCServerST.
void writeFramebufferUpdateOrClose();
- void screenLayoutChangeOrClose(rdr::U16 reason);
+ void screenLayoutChangeOrClose(uint16_t reason);
void setCursorOrClose();
void bellOrClose();
void setDesktopNameOrClose(const char *name);
@@ -124,11 +124,11 @@ namespace rfb {
virtual void clientInit(bool shared);
virtual void setPixelFormat(const PixelFormat& pf);
virtual void pointerEvent(const Point& pos, int buttonMask);
- virtual void keyEvent(rdr::U32 keysym, rdr::U32 keycode, bool down);
+ virtual void keyEvent(uint32_t keysym, uint32_t keycode, bool down);
virtual void framebufferUpdateRequest(const Rect& r, bool incremental);
virtual void setDesktopSize(int fb_width, int fb_height,
const ScreenSet& layout);
- virtual void fence(rdr::U32 flags, unsigned len, const char data[]);
+ virtual void fence(uint32_t flags, unsigned len, const char data[]);
virtual void enableContinuousUpdates(bool enable,
int x, int y, int w, int h);
virtual void handleClipboardRequest();
@@ -158,7 +158,7 @@ namespace rfb {
void writeDataUpdate();
void writeLosslessRefresh();
- void screenLayoutChange(rdr::U16 reason);
+ void screenLayoutChange(uint16_t reason);
void setCursor();
void setCursorPos();
void setDesktopName(const char *name);
@@ -172,7 +172,7 @@ namespace rfb {
bool inProcessMessages;
bool pendingSyncFence, syncFence;
- rdr::U32 fenceFlags;
+ uint32_t fenceFlags;
unsigned fenceDataLen;
char *fenceData;
@@ -189,7 +189,7 @@ namespace rfb {
Region cuRegion;
EncodeManager encodeManager;
- std::map<rdr::U32, rdr::U32> pressedKeys;
+ std::map<uint32_t, uint32_t> pressedKeys;
Timer idleTimer;