From e85a16a11248707488f2cbffc1dc30617fb0ae83 Mon Sep 17 00:00:00 2001 From: Takashi Sakamoto Date: Mon, 20 Jun 2022 18:44:49 +0900 Subject: [PATCH] seq: queue-info: add annotation to object properties Signed-off-by: Takashi Sakamoto --- src/seq/queue-info.c | 24 ++++++++++++++++++++++-- 1 file changed, 22 insertions(+), 2 deletions(-) diff --git a/src/seq/queue-info.c b/src/seq/queue-info.c index f7b7c95..2d299b6 100644 --- a/src/seq/queue-info.c +++ b/src/seq/queue-info.c @@ -85,6 +85,11 @@ static void alsaseq_queue_info_class_init(ALSASeqQueueInfoClass *klass) gobject_class->set_property = seq_queue_info_set_property; gobject_class->get_property = seq_queue_info_get_property; + /** + * ALSASeqQueueInfo:queue-id: + * + * The numeric ID of queue. An entry of ALSASeqSpecificQueueId is available as well. + */ seq_queue_info_props[SEQ_QUEUE_INFO_PROP_QUEUE_ID] = g_param_spec_uchar("queue-id", "queue-id", "The numeric ID of queue. An entry of ALSASeqSpecificQueueId is " @@ -93,20 +98,35 @@ static void alsaseq_queue_info_class_init(ALSASeqQueueInfoClass *klass) 0, G_PARAM_READWRITE); + /** + * ALSASeqQueueInfo:client-id: + * + * The numeric ID of client which owns the queue, including one of ALSASeqSpecificClientId. + */ seq_queue_info_props[SEQ_QUEUE_INFO_PROP_CLIENT_ID] = g_param_spec_uchar("client-id", "client-id", - "The numeric ID of client which owns the queue. An entry of " - "ALSASeqSpecificClientId is available as well" + "The numeric ID of client which owns the queue, including one of " + "ALSASeqSpecificClientId.", 0, G_MAXUINT8, 0, G_PARAM_READWRITE); + /** + * ALSASeqQueueInfo:locked: + * + * Whether to be locked by the other queues or not. + */ seq_queue_info_props[SEQ_QUEUE_INFO_PROP_LOCKED] = g_param_spec_boolean("locked", "locked", "Whether to be locked by the other queues or not.", FALSE, G_PARAM_READWRITE); + /** + * ALSASeqQueueInfo:name: + * + * The name of queue. + */ seq_queue_info_props[SEQ_QUEUE_INFO_PROP_NAME] = g_param_spec_string("name", "name", "The name of queue.", -- 2.47.3