[anjuta] symbol-db: More docs



commit 0fd627bae3d4528887f6b7c93620e8c1b0046072
Author: Naba Kumar <naba gnome org>
Date:   Fri Mar 26 07:56:12 2010 +0200

    symbol-db: More docs

 plugins/symbol-db/symbol-db-model.c |   24 ++++++++++++++++++++++++
 1 files changed, 24 insertions(+), 0 deletions(-)
---
diff --git a/plugins/symbol-db/symbol-db-model.c b/plugins/symbol-db/symbol-db-model.c
index 6b4286c..865a09c 100644
--- a/plugins/symbol-db/symbol-db-model.c
+++ b/plugins/symbol-db/symbol-db-model.c
@@ -1215,6 +1215,16 @@ symbol_db_model_get_query_value_at (SymbolDBModel *model,
 	                                                             value);
 }
 
+/**
+ * symbol_db_model_get_n_children_real:
+ * @model: The model
+ * @tree_level: The tree level where the node is.
+ * @column_values: The node column values.
+ *
+ * Gets the number of children of the node with given column values.
+ *
+ * Returns: Number of children
+ */
 static gint
 symbol_db_model_get_n_children_real (SymbolDBModel *model, gint tree_level,
                                      GValue column_values[])
@@ -1233,6 +1243,20 @@ symbol_db_model_get_n_children (SymbolDBModel *model, gint tree_level,
 	                                                         column_values);
 }
 
+/**
+ * symbol_db_model_get_children_real:
+ * @model: The model
+ * @tree_level: The tree level where the node is.
+ * @column_values: The node column values.
+ * @offset: Offset of the start row
+ * @limit: Number of rows to fetch
+ *
+ * Fetches the children data from backend database. The results are returned
+ * as GdaDataModel. The children to fetch starts form @offset and retrieves
+ * @limit amount.
+ *
+ * Returns: Data model holding the rows data, or NULL if there is no data.
+ */
 static GdaDataModel*
 symbol_db_model_get_children_real (SymbolDBModel *model, gint tree_level,
                                    GValue column_values[], gint offset,



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]