Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/Remmina/Remmina.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/vnc/vnc_plugin.h')
-rw-r--r--plugins/vnc/vnc_plugin.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/plugins/vnc/vnc_plugin.h b/plugins/vnc/vnc_plugin.h
index 5e8319fcb..a0a1732d9 100644
--- a/plugins/vnc/vnc_plugin.h
+++ b/plugins/vnc/vnc_plugin.h
@@ -71,6 +71,12 @@
#define REMMINA_PLUGIN_AUDIT(fmt, ...) \
remmina_plugin_service->_remmina_audit(__func__, fmt, ##__VA_ARGS__)
+#define LIBVNCSERVER_CHECK_VERSION_VERSION(major,minor,patchlevel) \
+ (LIBVNC_INT_MAJOR > (major) || \
+ (LIBVNC_INT_MAJOR == (major) && LIBVNC_INT_MINOR > (minor)) || \
+ (LIBVNC_INT_MAJOR == (major) && LIBVNC_INT_MINOR == (minor) && \
+ LIBVNC_INT_PATCH >= (patchlevel)))
+
typedef struct _RemminaPluginVncData {
/* Whether the user requests to connect/disconnect */
gboolean connected;