Foundry.SdkProvider¶
- Subclasses:
None
Methods¶
- Inherited:
Foundry.Contextual (4), GObject.Object (37), Json.Serializable (8), Gio.ListModel (4)
- Structs:
|
|
|
|
|
|
|
|
|
Virtual Methods¶
- Inherited:
GObject.Object (7), Json.Serializable (5), Gio.ListModel (3)
|
|
|
Properties¶
- Inherited:
Signals¶
- Inherited:
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
|---|---|---|---|
parent_instance |
r |
Class Details¶
- class Foundry.SdkProvider(**kwargs)¶
- Bases:
- Abstract:
Yes
- Structure:
Abstract base class implemented by plugins to provide access to SDKs of a specific type.
- dup_name()¶
- Returns:
the name of the provider
- Return type:
Gets a name for the provider that is expected to be displayed to users such as “Flatpak”.
- find_by_id(sdk_id)¶
- Parameters:
sdk_id (
str) – the identifier for the SDK such as “org.gnome.Sdk/x86_64/master”- Returns:
a [class`Dex`.Future] that resolves to a [class`Foundry`.Sdk] or rejects with error.
- Return type:
- merge(sdks)¶
- Parameters:
sdks ([
Foundry.Sdk]) – aGLib.PtrArrayof SDKs
This is a convenience function for SDK providers that need to parse the whole set of SDKs when doing updating. Just provide them all as a list here and only the changes will be applied.
- sdk_added(sdk)¶
- Parameters:
sdk (
Foundry.Sdk) –
- sdk_removed(sdk)¶
- Parameters:
sdk (
Foundry.Sdk) –
- do_dup_name() virtual¶
- Returns:
the name of the provider
- Return type:
Gets a name for the provider that is expected to be displayed to users such as “Flatpak”.