libsysprof-ui: start on open support

This commit is contained in:
Christian Hergert
2019-05-16 00:54:06 -07:00
parent 9cf941b794
commit 6f49ddb0e3
6 changed files with 242 additions and 5 deletions

View File

@ -21,6 +21,7 @@
#pragma once
#include <gtk/gtk.h>
#include <sysprof.h>
#include "sysprof-version-macros.h"
@ -40,6 +41,13 @@ struct _SysprofDisplayClass
} __attribute__((aligned(8)));
SYSPROF_AVAILABLE_IN_ALL
GtkWidget *sysprof_display_new (void);
GtkWidget *sysprof_display_new (void);
SYSPROF_AVAILABLE_IN_ALL
SysprofProfiler *sysprof_display_get_profiler (SysprofDisplay *self);
SYSPROF_AVAILABLE_IN_ALL
gboolean sysprof_display_is_empty (SysprofDisplay *self);
SYSPROF_AVAILABLE_IN_ALL
void sysprof_display_open (SysprofDisplay *self,
GFile *file);
G_END_DECLS