GVirSandboxContextService

GVirSandboxContextService — Desktop application sandbox context

Functions

Types and Values

Object Hierarchy

    GObject
    ╰── GVirSandboxContext
        ╰── GVirSandboxContextService

Includes

#include <libvirt-sandbox/libvirt-sandbox.h>

Description

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.

Functions

gvir_sandbox_context_service_new ()

GVirSandboxContextService *
gvir_sandbox_context_service_new (GVirConnection *connection,
                                  GVirSandboxConfigService *config);

Create a new service application sandbox context

Parameters

connection

the libvirt connection.

[transfer none]

config

the initial configuratoion.

[transfer none]

Returns

a new service sandbox context object.

[transfer full]


gvir_sandbox_context_service_define ()

gboolean
gvir_sandbox_context_service_define (GVirSandboxContextService *ctxt,
                                     GError **error);

gvir_sandbox_context_service_undefine ()

gboolean
gvir_sandbox_context_service_undefine (GVirSandboxContextService *ctxt,
                                       GError **error);

Types and Values

struct GVirSandboxContextService

struct GVirSandboxContextService;

struct GVirSandboxContextServiceClass

struct GVirSandboxContextServiceClass {
    GVirSandboxContextClass parent_class;

    gboolean (*define)(GVirSandboxContextService *ctxt, GError **error);
    gboolean (*undefine)(GVirSandboxContextService *ctxt, GError **error);

    gpointer padding[LIBVIRT_SANDBOX_CLASS_PADDING];
};

GVirSandboxContextServicePrivate

typedef struct _GVirSandboxContextServicePrivate GVirSandboxContextServicePrivate;

See Also

GVirSandboxContext