| Top |
| GwyFunctionUse * | gwy_func_use_new () |
| void | gwy_func_use_free () |
| void | gwy_func_use_add () |
| const gchar * | gwy_func_use_get () |
| GwyFunctionUse * | gwy_func_use_load () |
| void | gwy_func_use_save () |
| gchar * | gwy_func_use_get_filename () |
| GwyFunctionUse * | gwy_app_process_func_get_use () |
| void | gwy_app_process_func_save_use () |
void
gwy_func_use_free (GwyFunctionUse *functions);
Destroys function use statistics, freeing all associated resourced.
void gwy_func_use_add (GwyFunctionUse *functions,const gchar *name);
Adds an use of a function to the statistics.
const gchar * gwy_func_use_get (GwyFunctionUse *functions,guint i);
Gets the n-th most function from a function statistics.
functions |
Function use statistics. |
|
i |
Position in the top used functions (starting from 0). |
The function name, or NULL if there are not more functions with
use statistics records than i
.
GwyFunctionUse *
gwy_func_use_load (const gchar *filename);
Loads function use statistics from a file.
void gwy_func_use_save (GwyFunctionUse *functions,const gchar *filename);
Saves function use statistics data to a file.
gchar *
gwy_func_use_get_filename (const gchar *type);
Gets the (preferred) name for a file to store function use statistics to.