summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVictor Toso <me@victortoso.com>2020-03-05 18:57:59 +0100
committerFrediano Ziglio <fziglio@redhat.com>2020-03-06 10:46:00 +0000
commit4816ae58d211df52c0f576dce0773369feaeb380 (patch)
tree9a5639abc5b582f9510b4fc6823aea1f44b5d485
parent2981f214d3d00be68e1e361a940fe598c9195c13 (diff)
foreign-menu: mark as deprecated
This patch deprecates this interface and suggests to drop it in the next release. I don't know any user for this interface in the past 5 years. Spice clients like remote-viewer do use oVirt API for foreign menu. Signed-off-by: Victor Toso <victortoso@redhat.com> Acked-by: Frediano Ziglio <fziglio@redhat.com>
-rw-r--r--spice/foreign_menu_prot.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/spice/foreign_menu_prot.h b/spice/foreign_menu_prot.h
index 44f88a2..65b0fd1 100644
--- a/spice/foreign_menu_prot.h
+++ b/spice/foreign_menu_prot.h
@@ -22,6 +22,10 @@
#include <spice/types.h>
#include <spice/start-packed.h>
+#ifndef SPICE_DISABLE_DEPRECATED
+#error "This SPICE interface is deprecated"
+#endif
+
#define FOREIGN_MENU_MAGIC SPICE_MAGIC_CONST("FRGM")
#define FOREIGN_MENU_VERSION 1