From bf0e9c7d42c2078e29301123aae3593bab1a029b Mon Sep 17 00:00:00 2001 From: Fritz Elfert Date: Sun, 17 Mar 2002 01:25:08 +0000 Subject: - lib: Added rfsv::getProtocolVersion - klipsi: Terminate gracefully if connected to a Series 3. --- kde2/klipsi/toplevel.cpp | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'kde2/klipsi') diff --git a/kde2/klipsi/toplevel.cpp b/kde2/klipsi/toplevel.cpp index 1a7d4dd..1de43b7 100644 --- a/kde2/klipsi/toplevel.cpp +++ b/kde2/klipsi/toplevel.cpp @@ -554,6 +554,18 @@ checkConnection() { rf = rff->create(true); if (rf) { + if (rf->getProtocolVersion() == 3) { + closeConnection(); + delete timer; + timer = NULL; + KMessageBox::error(NULL, i18n( + "Your Psion is reported to be a Series 3 " + "machine. This type of machine does not support the " + "remote clipboard protocol; Sorry.
" + "Klipsi will now terminate.
"), + i18n("Protocol not supported")); + return false; + } if (!rc) { rc = new rclip(rclipSocket); Enum ret; -- cgit v1.2.3