aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>2022-05-25 16:27:19 +0900
committerTakashi Sakamoto <o-takashi@sakamocchi.jp>2022-05-25 16:27:19 +0900
commit98c12c328d1e69826f927328f810d0c4a4963143 (patch)
treee6c9ee1800965af6fe9e1c5e09416c4cf8fc39b2
parent0aea473dfcc92f9c2c6d3fd043045f854c46b859 (diff)
downloadlibhinoko-98c12c328d1e69826f927328f810d0c4a4963143.tar.gz
fw_iso_resource_auto: fulfill annotation for property
Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
-rw-r--r--src/fw_iso_resource_auto.c23
1 files changed, 22 insertions, 1 deletions
diff --git a/src/fw_iso_resource_auto.c b/src/fw_iso_resource_auto.c
index cecc1d3..467acd4 100644
--- a/src/fw_iso_resource_auto.c
+++ b/src/fw_iso_resource_auto.c
@@ -100,17 +100,38 @@ static void hinoko_fw_iso_resource_auto_class_init(HinokoFwIsoResourceAutoClass
fw_iso_resource_class_override_properties(gobject_class);
+ /**
+ * HinokoFwIsoResourceAuto:is-allocated:
+ *
+ * Whether to be allocate isochronous resource or not.
+ *
+ * Since: 0.7.
+ */
g_object_class_install_property(gobject_class, FW_ISO_RESOURCE_AUTO_PROP_IS_ALLOCATED,
g_param_spec_boolean("is-allocated", "is-allocated",
- "Whether to allocated or not.",
+ "Whether to allocate or not.",
FALSE, G_PARAM_READABLE));
+ /**
+ * HinokoFwIsoResourceAuto:channel:
+ *
+ * The allocated channel number.
+ *
+ * Since: 0.7.
+ */
g_object_class_install_property(gobject_class, FW_ISO_RESOURCE_AUTO_PROP_CHANNEL,
g_param_spec_uint("channel", "channel",
"The allocated channel number.",
0, G_MAXUINT, 0,
G_PARAM_READABLE));
+ /**
+ * HinokoFwIsoResourceAuto:bandwidth:
+ *
+ * The allocated amount of bandwidth.
+ *
+ * Since: 0.7.
+ */
g_object_class_install_property(gobject_class, FW_ISO_RESOURCE_AUTO_PROP_BANDWIDTH,
g_param_spec_uint("bandwidth", "bandwidth",
"The allocated amount of bandwidth.",