![]() |
![]() |
![]() |
Libvirt-sandbox Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy |
#include <libvirt-sandbox/libvirt-sandbox.h> struct GVirSandboxContextService; struct GVirSandboxContextServiceClass; GVirSandboxContextService * gvir_sandbox_context_service_new (GVirConnection *connection
,GVirSandboxConfigService *config
); gboolean gvir_sandbox_context_service_define (GVirSandboxContextService *ctxt
,GError **error
); gboolean gvir_sandbox_context_service_undefine (GVirSandboxContextService *ctxt
,GError **error
);
Provides a base class for implementing service desktop application sandboxes
The GVirSandboxContextService object extends the functionality provided by GVirSandboxContext to allow the application to display output in a service desktop.
struct GVirSandboxContextServiceClass { GVirSandboxContextClass parent_class; gboolean (*define)(GVirSandboxContextService *ctxt, GError **error); gboolean (*undefine)(GVirSandboxContextService *ctxt, GError **error); gpointer padding[LIBVIRT_SANDBOX_CLASS_PADDING]; };
GVirSandboxContextService * gvir_sandbox_context_service_new (GVirConnection *connection
,GVirSandboxConfigService *config
);
Create a new service application sandbox context
|
the libvirt connection. [transfer none] |
|
the initial configuratoion. [transfer none] |
Returns : |
a new service sandbox context object. [transfer full] |
gboolean gvir_sandbox_context_service_define (GVirSandboxContextService *ctxt
,GError **error
);
gboolean gvir_sandbox_context_service_undefine (GVirSandboxContextService *ctxt
,GError **error
);