Valadoc
|
Vala
|
Tutorial
|
API-References
|
Markup
Packages
gio-2.0
GLib
IOExtensionPoint
implement
lookup
register
get_extension_by_name
get_extensions
get_required_type
set_required_type
IOExtensionPoint
Object Hierarchy:
Description:
public
class
IOExtensionPoint
Namespace:
GLib
Package:
gio-2.0
Content:
Static methods:
public
static
unowned
IOExtension
implement
(
string
extension_point_name,
Type
type,
string
extension_name,
int
priority)
Registers
type
as extension for the extension point with name
extension_point_name
.
public
static
unowned
IOExtensionPoint
lookup
(
string
name)
Looks up an existing extension point.
public
static
unowned
IOExtensionPoint
register
(
string
name)
Registers an extension point.
Methods:
public
unowned
IOExtension
get_extension_by_name
(
string
name)
Finds a
IOExtension
for an extension point by name.
public
unowned
List
<
IOExtension
>
get_extensions
()
Gets a list of all extensions that implement this extension point. The list is sorted by priority, beginning with the highest priority.
public
Type
get_required_type
()
Gets the required type for
extension_point
.
public
void
set_required_type
(
Type
type)
Sets the required type for
extension_point
to
type
. All implementations must henceforth have this type.