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>
This commit is contained in:
Victor Toso 2020-03-05 18:57:59 +01:00 committed by Frediano Ziglio
parent 2981f214d3
commit 4816ae58d2

View File

@ -22,6 +22,10 @@
#include <spice/types.h> #include <spice/types.h>
#include <spice/start-packed.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_MAGIC SPICE_MAGIC_CONST("FRGM")
#define FOREIGN_MENU_VERSION 1 #define FOREIGN_MENU_VERSION 1