Top |
|
versionCheck () |
|
versionLeq () |
|
loadExtension () |
|
unloadExtension () |
|
reloadExtension () |
|
findExtensionSubdirectory () |
versionCheck (required
,current
);
Check if a component is compatible for an extension. required
is an array, and at least one version must be lower than the current version. current
must be in the format <major>.<minor>.<point>.<micro> <micro> is always ignored <point> is ignored if not specified (so you can target the whole release) <minor> and <major> must match Each target version must be at least <major> and <minor>
reloadExtension (string uuid
,Extension.Type type
);
Reloads an xlet. Useful when the source has changed.
Gio.File
findExtensionSubdirectory (Gio.File dir
);
For extensions that are shipped with multiple versions in different directories, look for the largest available version that is less than or equal to the current running version. If no such version is found, the original directory is returned.