sysprof: implement document saving

This commit is contained in:
Christian Hergert
2023-08-06 17:59:50 -07:00
parent bf7f275ec2
commit 053271f946
4 changed files with 147 additions and 0 deletions

View File

@ -120,5 +120,15 @@ SYSPROF_AVAILABLE_IN_ALL
GBytes *sysprof_document_serialize_symbols_finish (SysprofDocument *self,
GAsyncResult *result,
GError **error);
SYSPROF_AVAILABLE_IN_ALL
void sysprof_document_save_async (SysprofDocument *self,
GFile *file,
GCancellable *cancellable,
GAsyncReadyCallback callback,
gpointer user_data);
SYSPROF_AVAILABLE_IN_ALL
gboolean sysprof_document_save_finish (SysprofDocument *self,
GAsyncResult *result,
GError **error);
G_END_DECLS