Difference between revisions of "Liblicense"
Line 1: | Line 1: | ||
+ | == System Overview == | ||
+ | |||
[[Image:Liblicense_system_architecture.png]] | [[Image:Liblicense_system_architecture.png]] | ||
[[Image:Liblicense_system_architecture.svg | svg version]] | [[Image:Liblicense_system_architecture.svg | svg version]] | ||
+ | |||
+ | == Config Modules == | ||
+ | * '''in_use'''() - returns whether or not the corresponding config system exists on the computer | ||
+ | * '''get'''() - returns the current default license uri | ||
+ | * '''set'''(uri) - sets the default license uri and returns 0 upon success (non-zero for errors) | ||
+ | |||
+ | == I/O Modules == | ||
+ | * '''mime_types''' - null terminated list of handled mime-types (all indicates external storage method which works for any file) | ||
+ | * '''read'''(filename) - returns the license uri for the given file (embedded license takes precedence) | ||
+ | * '''write'''(filename,uri) - writes the license uri for the given file | ||
+ | |||
+ | == Frontends == | ||
+ | From [[Desktop Integration]] | ||
+ | |||
+ | === Sugar (OLPC) === | ||
+ | [[Image:Sugar journal-01.png]] | ||
+ | |||
+ | [[Image:Sugar settings-01.png ]] | ||
+ | |||
+ | === Gnome === | ||
+ | [[Image:Gnome nautilus-01.png]] | ||
+ | |||
+ | [[Image:Gnome properties-01.png]] | ||
+ | |||
+ | [[Image:Gnome preferences-01.png]] | ||
+ | |||
+ | === KDE === | ||
+ | [[Image:Kde konqueror-01.png]] | ||
+ | |||
+ | [[Image:Kde properties-01.png]] | ||
+ | |||
+ | [[Image:Kde controlcenter-01.png]] | ||
+ | |||
+ | |||
+ | === OpenMoko === | ||
+ | [[Image:Openmoko preferences-01.png]] | ||
+ | |||
+ | === MacOSx === | ||
+ | [[Image:Osx info-01.png]] | ||
+ | [[Image:Osx preferences-01.png]] |
Revision as of 23:10, 21 June 2007
Contents
System Overview
Config Modules
- in_use() - returns whether or not the corresponding config system exists on the computer
- get() - returns the current default license uri
- set(uri) - sets the default license uri and returns 0 upon success (non-zero for errors)
I/O Modules
- mime_types - null terminated list of handled mime-types (all indicates external storage method which works for any file)
- read(filename) - returns the license uri for the given file (embedded license takes precedence)
- write(filename,uri) - writes the license uri for the given file
Frontends
From Desktop Integration