summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorPierre Ossman <ossman@cendio.se>2019-05-02 12:32:03 +0200
committerPierre Ossman <ossman@cendio.se>2019-07-01 10:48:21 +0200
commit66f1db543b425f6fe64d437477e6f78924ec57be (patch)
tree196c5e5fd095f6690da363d05be306ec877c13b0 /tests
parent546b2ad80a68e80a737aade06f0685cccb5e9716 (diff)
downloadtigervnc-66f1db543b425f6fe64d437477e6f78924ec57be.tar.gz
tigervnc-66f1db543b425f6fe64d437477e6f78924ec57be.zip
Clean up internal clipboard handling
We now filter incoming data, which means we can start assuming the clipboard data is always null terminated. This allows us to clean up a lot of the internal handling.
Diffstat (limited to 'tests')
-rw-r--r--tests/decperf.cxx4
-rw-r--r--tests/encperf.cxx4
2 files changed, 4 insertions, 4 deletions
diff --git a/tests/decperf.cxx b/tests/decperf.cxx
index 301e45e0..df5214f2 100644
--- a/tests/decperf.cxx
+++ b/tests/decperf.cxx
@@ -54,7 +54,7 @@ public:
virtual void framebufferUpdateEnd();
virtual void setColourMapEntries(int, int, rdr::U16*);
virtual void bell();
- virtual void serverCutText(const char*, rdr::U32);
+ virtual void serverCutText(const char*);
public:
double cpuTime;
@@ -122,7 +122,7 @@ void CConn::bell()
{
}
-void CConn::serverCutText(const char*, rdr::U32)
+void CConn::serverCutText(const char*)
{
}
diff --git a/tests/encperf.cxx b/tests/encperf.cxx
index 6523eb72..e461197e 100644
--- a/tests/encperf.cxx
+++ b/tests/encperf.cxx
@@ -96,7 +96,7 @@ public:
virtual void dataRect(const rfb::Rect&, int);
virtual void setColourMapEntries(int, int, rdr::U16*);
virtual void bell();
- virtual void serverCutText(const char*, rdr::U32);
+ virtual void serverCutText(const char*);
public:
double decodeTime;
@@ -254,7 +254,7 @@ void CConn::bell()
{
}
-void CConn::serverCutText(const char*, rdr::U32)
+void CConn::serverCutText(const char*)
{
}