Farstream.Plugin¶
- Subclasses:
None
Methods¶
- Inherited:
GObject.TypeModule (7), GObject.Object (37), GObject.TypePlugin (4)
- Structs:
class |
|
class |
|
Virtual Methods¶
- Inherited:
Properties¶
None
Signals¶
- Inherited:
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
---|---|---|---|
name |
r |
||
parent |
r |
the parent object |
|
type |
r |
||
unused |
[ |
r |
Class Details¶
- class Farstream.Plugin(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
This structure represents a plugin, it is opaque.
- classmethod list_available(type_suffix)¶
- Parameters:
type_suffix (
str
) – Get list of plugins with this type suffix- Returns:
a newly allocated
None
terminated array of strings orNone
if no strings were found. It should be freed withGLib.strfreev
().- Return type:
[
str
]
Gets the list of all available plugins of a certain type
- classmethod register_static(name, type_suffix, type)¶
- Parameters:
name (
str
) – The name of the plugin to registertype_suffix (
str
) – The type of plugin to register (normally “transmitter”)type (
GObject.GType
) –
Register a staticly linked transmitter. This function should strictly be used by plugins own register function. To register a static plugin: extern fs_plugin_<name>_<type>_register_pluing (void); fs_plugin_<name>_<type>_register_pluing ();