|
|
(8 intermediate revisions by the same user not shown) |
Line 1: |
Line 1: |
− | == Purpose ==
| + | #REDIRECT [[Liblicense]] |
− | To provide a generic interface to the CC license data, license choice data and license choice logic.
| |
− | | |
− | == Audience ==
| |
− | Application developers who wish to choose and/or verify CC licenses.
| |
− | | |
− | == Implementation ==
| |
− | This library will be implemented in C to provide maximum portability.
| |
− | | |
− | === Interface ===
| |
− | | |
− | * Data accessors.
| |
− | ** get_locale(uri)
| |
− | ** get_jurisdiction(uri)
| |
− | ** get_name(uri)
| |
− | ** get_version(uri)
| |
− | ** is_sa(uri)
| |
− | ** is_by(uri)
| |
− | ** is_nc(uri)
| |
− | ** is_nd(uri)
| |
− | ** is_sampling(uri)
| |
− | ** get_notification(uri[,url])
| |
− | | |
− | * Data verification.
| |
− | ** verify_uri(uri)
| |
− | ** verify_url(uri,url)
| |
− | | |
− | * License chooser (return uris)
| |
− | ** get_license(sa,nc,nd) (Raise error upon simultaneous choice of sa and nd.)
| |
− | ** get_license_options(locale)
| |
− | ** get_sampling(nc)
| |
− | ** get_sampling_options(locale)
| |
− | | |
− | === Data Structure ===
| |
− | * Data Types (informal)
| |
− | ** uri
| |
− | ** name
| |
− | ** notification
| |
− | ** deed
| |
− | ** sampling
| |
− | | |
− | === Bindings ===
| |
− | * Python
| |
− | | |
− | == Uses ==
| |
− | [[LibccLicense system implementation guidelines.]] | |
− | * Gnome
| |
− | * KDE
| |
− | * OpenMoko
| |
− | * Sugar (OLPC)
| |