return priv->w;
}
+GHashTable
+*organigramma_ufficio_get_by_id (OrganigrammaCommons *commons, gint id)
+{
+ GHashTable *ret;
+
+ gchar *sql;
+
+ g_return_val_if_fail (commons != NULL, NULL);
+ g_return_val_if_fail (id > 0, NULL);
+
+ sql = g_strdup_printf ("SELECT * FROM uffici WHERE id = %d",
+ id);
+
+ ret = gdaex_data_model_row_to_hashtable_from_sql (commons->gdaex, sql, 0);
+
+ g_free (sql);
+
+ return ret;
+}
+
/* PRIVATE */
static void
organigramma_ufficio_carica (OrganigrammaUfficio *ufficio)
GtkWidget *organigramma_ufficio_get_widget (OrganigrammaUfficio *ufficio);
+GHashTable *organigramma_ufficio_get_by_id (OrganigrammaCommons *commons, gint id);
+
G_END_DECLS