summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docs/reference/endless/endless-docs.xml5
-rw-r--r--docs/reference/endless/endless-sections.txt13
-rw-r--r--endless/eoslicense.c10
3 files changed, 27 insertions, 1 deletions
diff --git a/docs/reference/endless/endless-docs.xml b/docs/reference/endless/endless-docs.xml
index e94162d..26142ad 100644
--- a/docs/reference/endless/endless-docs.xml
+++ b/docs/reference/endless/endless-docs.xml
@@ -40,6 +40,11 @@
<xi:include href="xml/api-index-0.2.xml"><xi:fallback /></xi:include>
</index>
+ <index id="api-index-0.4">
+ <title>Index of new API in 0.4</title>
+ <xi:include href="xml/api-index-0.4.xml"><xi:fallback /></xi:include>
+ </index>
+
<index id="deprecated-api-index" role="deprecated">
<title>Index of deprecated API</title>
<xi:include href="xml/api-index-deprecated.xml"><xi:fallback /></xi:include>
diff --git a/docs/reference/endless/endless-sections.txt b/docs/reference/endless/endless-sections.txt
index ed2e6bd..549169c 100644
--- a/docs/reference/endless/endless-sections.txt
+++ b/docs/reference/endless/endless-sections.txt
@@ -5,15 +5,19 @@ eos_get_system_personality
<SUBSECTION Private>
EOS_SDK_AVAILABLE_IN_0_0
EOS_SDK_AVAILABLE_IN_0_2
+EOS_SDK_AVAILABLE_IN_0_4
EOS_SDK_DEPRECATED
EOS_SDK_DEPRECATED_FOR
EOS_SDK_DEPRECATED_IN_0_0
EOS_SDK_DEPRECATED_IN_0_0_FOR
EOS_SDK_DEPRECATED_IN_0_2
EOS_SDK_DEPRECATED_IN_0_2_FOR
+EOS_SDK_DEPRECATED_IN_0_4
+EOS_SDK_DEPRECATED_IN_0_4_FOR
EOS_SDK_UNAVAILABLE
EOS_SDK_VERSION_0_0
EOS_SDK_VERSION_0_2
+EOS_SDK_VERSION_0_4
EOS_SDK_VERSION_CUR_STABLE
EOS_SDK_VERSION_MAX_ALLOWED
EOS_SDK_VERSION_MIN_REQUIRED
@@ -158,3 +162,12 @@ EOS_TYPE_CUSTOM_CONTAINER
EosCustomContainerClass
eos_custom_container_get_type
</SECTION>
+
+<SECTION>
+<FILE>license</FILE>
+eos_get_license_display_name
+eos_get_license_file
+EOS_LICENSE_PUBLIC_DOMAN
+EOS_LICENSE_OWNER_PERMISSION
+EOS_LICENSE_NO_LICENSE
+</SECTION> \ No newline at end of file
diff --git a/endless/eoslicense.c b/endless/eoslicense.c
index fc18dbf..48df9d3 100644
--- a/endless/eoslicense.c
+++ b/endless/eoslicense.c
@@ -9,7 +9,11 @@
#include "eoslicense.h"
/**
- * SECTION:
+ * SECTION:license
+ * @short_description: License provider for applications
+ * @title: License
+ *
+ * It provides an API to serve license information and files to applications.
*/
/* These are the recognized string values for the "license" field. Any other
@@ -141,6 +145,8 @@ get_license_index (const gchar *license)
* eos_get_license_display_name:
* @license: The license name
*
+ * Retrieves the display name for the specified license and the current locale.
+ *
* Returns: A string for the specified @license name and the
* current locale.
* Since: 0.4
@@ -165,6 +171,8 @@ eos_get_license_display_name (const gchar *license)
* eos_get_license_file:
* @license: The license name
*
+ * Retrieves a GFile for the specified licene and the current locale.
+ *
* Returns: (transfer full): A GFile for the specified @license name and the
* current locale. It returns NULL if the license
* is not found or does not have an associated file.