libsysprof: add SysprofDocument:busy property

This currently only toggles on/off when a callgraph is being generated or
the document is being saved.

See #94
This commit is contained in:
Christian Hergert
2023-08-29 09:51:09 -07:00
parent 2c0fd400a1
commit 480543fe87
2 changed files with 59 additions and 0 deletions

View File

@ -132,5 +132,7 @@ SYSPROF_AVAILABLE_IN_ALL
gboolean sysprof_document_save_finish (SysprofDocument *self,
GAsyncResult *result,
GError **error);
SYSPROF_AVAILABLE_IN_ALL
gboolean sysprof_document_get_busy (SysprofDocument *self);
G_END_DECLS