UrfKillswitch

UrfKillswitch — Client object for accessing information about killswitches

Functions

Types and Values

Includes

#include <urfkill.h>

Description

A helper GObject for accessing killswitches

Functions

urf_killswitch_get_switch_type ()

UrfEnumType
urf_killswitch_get_switch_type (UrfKillswitch *killswitch);

Get the type of the killswitch.

Parameters

killswitch

a UrfKillswitch instance

 

Returns

The type of the killswitch

Since: 0.3.0


urf_killswitch_new ()

UrfKillswitch *
urf_killswitch_new (UrfEnumType type);

Creates a new UrfKillswitch object.

Parameters

type

The killswitch type

 

Returns

a new UrfKillswitch object.

Since: 0.3.0

Types and Values

struct UrfKillswitch

struct UrfKillswitch {
};

The UrfKillswitch struct contains only private fields and should not be directly accessed.


struct UrfKillswitchClass

struct UrfKillswitchClass {
};

Class structure for UrfKillswitch

See Also

UrfClient, UrfDevice