mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2025-12-31 20:36:25 +00:00
replay: add stubs and plumbing to implement a re-record
The goal here is to be able to do a duplicate recording to the previous with a quick key-combination like Ctrl+R. We still need to extract the metadata from the capture file and setup a new profiler, but this gets the mechanics in place.
This commit is contained in:
@ -41,17 +41,21 @@ struct _SysprofNotebookClass
|
||||
};
|
||||
|
||||
SYSPROF_AVAILABLE_IN_ALL
|
||||
GtkWidget *sysprof_notebook_new (void);
|
||||
GtkWidget *sysprof_notebook_new (void);
|
||||
SYSPROF_AVAILABLE_IN_ALL
|
||||
SysprofDisplay *sysprof_notebook_get_current (SysprofNotebook *self);
|
||||
SysprofDisplay *sysprof_notebook_get_current (SysprofNotebook *self);
|
||||
SYSPROF_AVAILABLE_IN_ALL
|
||||
void sysprof_notebook_close_current (SysprofNotebook *self);
|
||||
void sysprof_notebook_close_current (SysprofNotebook *self);
|
||||
SYSPROF_AVAILABLE_IN_ALL
|
||||
void sysprof_notebook_open (SysprofNotebook *self,
|
||||
GFile *file);
|
||||
void sysprof_notebook_open (SysprofNotebook *self,
|
||||
GFile *file);
|
||||
SYSPROF_AVAILABLE_IN_ALL
|
||||
void sysprof_notebook_save (SysprofNotebook *self);
|
||||
void sysprof_notebook_save (SysprofNotebook *self);
|
||||
SYSPROF_AVAILABLE_IN_ALL
|
||||
gboolean sysprof_notebook_get_can_save (SysprofNotebook *self);
|
||||
gboolean sysprof_notebook_get_can_save (SysprofNotebook *self);
|
||||
SYSPROF_AVAILABLE_IN_ALL
|
||||
void sysprof_notebook_replay (SysprofNotebook *self);
|
||||
SYSPROF_AVAILABLE_IN_ALL
|
||||
gboolean sysprof_notebook_get_can_replay (SysprofNotebook *self);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
Reference in New Issue
Block a user