libsysprof-ui: work on async loading

This commit is contained in:
Christian Hergert
2019-05-13 23:59:40 -07:00
parent 2e4b17be17
commit 91c95a0e0d
7 changed files with 156 additions and 33 deletions

View File

@ -21,7 +21,7 @@
#pragma once
#include <gtk/gtk.h>
#include <sysprof-capture.h>
#include <sysprof.h>
G_BEGIN_DECLS
@ -41,6 +41,7 @@ typedef enum
G_DECLARE_FINAL_TYPE (SysprofMarksModel, sysprof_marks_model, SYSPROF, MARKS_MODEL, GObject)
void sysprof_marks_model_new_async (SysprofCaptureReader *reader,
SysprofSelection *selection,
GCancellable *cancellable,
GAsyncReadyCallback callback,
gpointer user_data);