mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2025-12-31 20:36:25 +00:00
libsysprof-ui: fixup whitespace in headers
This commit is contained in:
@ -44,15 +44,15 @@ struct _SysprofCallgraphViewClass
|
||||
};
|
||||
|
||||
SYSPROF_AVAILABLE_IN_ALL
|
||||
GtkWidget *sysprof_callgraph_view_new (void);
|
||||
GtkWidget *sysprof_callgraph_view_new (void);
|
||||
SYSPROF_AVAILABLE_IN_ALL
|
||||
SysprofCallgraphProfile *sysprof_callgraph_view_get_profile (SysprofCallgraphView *self);
|
||||
SYSPROF_AVAILABLE_IN_ALL
|
||||
void sysprof_callgraph_view_set_profile (SysprofCallgraphView *self,
|
||||
SysprofCallgraphProfile *profile);
|
||||
void sysprof_callgraph_view_set_profile (SysprofCallgraphView *self,
|
||||
SysprofCallgraphProfile *profile);
|
||||
SYSPROF_AVAILABLE_IN_ALL
|
||||
gchar *sysprof_callgraph_view_screenshot (SysprofCallgraphView *self);
|
||||
gchar *sysprof_callgraph_view_screenshot (SysprofCallgraphView *self);
|
||||
SYSPROF_AVAILABLE_IN_ALL
|
||||
guint sysprof_callgraph_view_get_n_functions (SysprofCallgraphView *self);
|
||||
guint sysprof_callgraph_view_get_n_functions (SysprofCallgraphView *self);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
@ -61,6 +61,6 @@ SYSPROF_AVAILABLE_IN_ALL
|
||||
gdouble sysprof_cell_renderer_percent_get_percent (SysprofCellRendererPercent *self);
|
||||
SYSPROF_AVAILABLE_IN_ALL
|
||||
void sysprof_cell_renderer_percent_set_percent (SysprofCellRendererPercent *self,
|
||||
gdouble percent);
|
||||
gdouble percent);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
@ -35,17 +35,17 @@ G_BEGIN_DECLS
|
||||
typedef struct _SysprofColorCycle SysprofColorCycle;
|
||||
|
||||
SYSPROF_AVAILABLE_IN_ALL
|
||||
GType sysprof_color_cycle_get_type (void);
|
||||
GType sysprof_color_cycle_get_type (void);
|
||||
SYSPROF_AVAILABLE_IN_ALL
|
||||
SysprofColorCycle *sysprof_color_cycle_ref (SysprofColorCycle *self);
|
||||
SYSPROF_AVAILABLE_IN_ALL
|
||||
void sysprof_color_cycle_unref (SysprofColorCycle *self);
|
||||
void sysprof_color_cycle_unref (SysprofColorCycle *self);
|
||||
SYSPROF_AVAILABLE_IN_ALL
|
||||
SysprofColorCycle *sysprof_color_cycle_new (void);
|
||||
SYSPROF_AVAILABLE_IN_ALL
|
||||
void sysprof_color_cycle_reset (SysprofColorCycle *self);
|
||||
void sysprof_color_cycle_reset (SysprofColorCycle *self);
|
||||
SYSPROF_AVAILABLE_IN_ALL
|
||||
void sysprof_color_cycle_next (SysprofColorCycle *self,
|
||||
GdkRGBA *rgba);
|
||||
void sysprof_color_cycle_next (SysprofColorCycle *self,
|
||||
GdkRGBA *rgba);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
@ -25,8 +25,7 @@
|
||||
#endif
|
||||
|
||||
#include <gtk/gtk.h>
|
||||
|
||||
#include "sysprof-version-macros.h"
|
||||
#include <sysprof.h>
|
||||
|
||||
G_BEGIN_DECLS
|
||||
|
||||
|
||||
@ -45,6 +45,6 @@ SYSPROF_AVAILABLE_IN_ALL
|
||||
GtkWidget *sysprof_failed_state_view_new (void);
|
||||
SYSPROF_AVAILABLE_IN_ALL
|
||||
void sysprof_failed_state_view_set_profiler (SysprofFailedStateView *self,
|
||||
SysprofProfiler *profiler);
|
||||
SysprofProfiler *profiler);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
@ -24,8 +24,9 @@
|
||||
# error "Only <sysprof-ui.h> can be included directly."
|
||||
#endif
|
||||
|
||||
#include <sysprof.h>
|
||||
|
||||
#include "sysprof-visualizer-row.h"
|
||||
#include "sysprof-version-macros.h"
|
||||
|
||||
G_BEGIN_DECLS
|
||||
|
||||
@ -51,15 +52,15 @@ SYSPROF_AVAILABLE_IN_ALL
|
||||
void sysprof_line_visualizer_row_clear (SysprofLineVisualizerRow *self);
|
||||
SYSPROF_AVAILABLE_IN_ALL
|
||||
void sysprof_line_visualizer_row_add_counter (SysprofLineVisualizerRow *self,
|
||||
guint counter_id,
|
||||
const GdkRGBA *color);
|
||||
guint counter_id,
|
||||
const GdkRGBA *color);
|
||||
SYSPROF_AVAILABLE_IN_ALL
|
||||
void sysprof_line_visualizer_row_set_line_width (SysprofLineVisualizerRow *self,
|
||||
guint counter_id,
|
||||
gdouble width);
|
||||
guint counter_id,
|
||||
gdouble width);
|
||||
SYSPROF_AVAILABLE_IN_ALL
|
||||
void sysprof_line_visualizer_row_set_fill (SysprofLineVisualizerRow *self,
|
||||
guint counter_id,
|
||||
const GdkRGBA *color);
|
||||
guint counter_id,
|
||||
const GdkRGBA *color);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
@ -48,6 +48,6 @@ SYSPROF_AVAILABLE_IN_ALL
|
||||
const gchar *sysprof_mark_visualizer_row_get_group (SysprofMarkVisualizerRow *self);
|
||||
SYSPROF_AVAILABLE_IN_ALL
|
||||
void sysprof_mark_visualizer_row_set_group (SysprofMarkVisualizerRow *self,
|
||||
const gchar *group);
|
||||
const gchar *group);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
@ -46,15 +46,15 @@ struct _SysprofModelFilterClass
|
||||
};
|
||||
|
||||
SYSPROF_AVAILABLE_IN_ALL
|
||||
SysprofModelFilter *sysprof_model_filter_new (GListModel *child_model);
|
||||
SysprofModelFilter *sysprof_model_filter_new (GListModel *child_model);
|
||||
SYSPROF_AVAILABLE_IN_ALL
|
||||
GListModel *sysprof_model_filter_get_child_model (SysprofModelFilter *self);
|
||||
GListModel *sysprof_model_filter_get_child_model (SysprofModelFilter *self);
|
||||
SYSPROF_AVAILABLE_IN_ALL
|
||||
void sysprof_model_filter_invalidate (SysprofModelFilter *self);
|
||||
void sysprof_model_filter_invalidate (SysprofModelFilter *self);
|
||||
SYSPROF_AVAILABLE_IN_ALL
|
||||
void sysprof_model_filter_set_filter_func (SysprofModelFilter *self,
|
||||
SysprofModelFilterFunc filter_func,
|
||||
gpointer filter_func_data,
|
||||
GDestroyNotify filter_func_data_destroy);
|
||||
void sysprof_model_filter_set_filter_func (SysprofModelFilter *self,
|
||||
SysprofModelFilterFunc filter_func,
|
||||
gpointer filter_func_data,
|
||||
GDestroyNotify filter_func_data_destroy);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
@ -26,8 +26,7 @@
|
||||
#endif
|
||||
|
||||
#include <gtk/gtk.h>
|
||||
|
||||
#include "sysprof-version-macros.h"
|
||||
#include <sysprof.h>
|
||||
|
||||
G_BEGIN_DECLS
|
||||
|
||||
|
||||
@ -42,13 +42,13 @@ struct _SysprofProcessModelRowClass
|
||||
};
|
||||
|
||||
SYSPROF_AVAILABLE_IN_ALL
|
||||
GtkWidget *sysprof_process_model_row_new (SysprofProcessModelItem *item);
|
||||
GtkWidget *sysprof_process_model_row_new (SysprofProcessModelItem *item);
|
||||
SYSPROF_AVAILABLE_IN_ALL
|
||||
SysprofProcessModelItem *sysprof_process_model_row_get_item (SysprofProcessModelRow *self);
|
||||
SYSPROF_AVAILABLE_IN_ALL
|
||||
gboolean sysprof_process_model_row_get_selected (SysprofProcessModelRow *self);
|
||||
gboolean sysprof_process_model_row_get_selected (SysprofProcessModelRow *self);
|
||||
SYSPROF_AVAILABLE_IN_ALL
|
||||
void sysprof_process_model_row_set_selected (SysprofProcessModelRow *self,
|
||||
gboolean selected);
|
||||
void sysprof_process_model_row_set_selected (SysprofProcessModelRow *self,
|
||||
gboolean selected);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
@ -25,9 +25,7 @@
|
||||
#endif
|
||||
|
||||
#include <gtk/gtk.h>
|
||||
|
||||
#include "sysprof-profiler.h"
|
||||
#include "sysprof-version-macros.h"
|
||||
#include <sysprof.h>
|
||||
|
||||
G_BEGIN_DECLS
|
||||
|
||||
@ -44,10 +42,10 @@ struct _SysprofProfilerMenuButtonClass
|
||||
};
|
||||
|
||||
SYSPROF_AVAILABLE_IN_ALL
|
||||
GtkWidget *sysprof_profiler_menu_button_new (void);
|
||||
GtkWidget *sysprof_profiler_menu_button_new (void);
|
||||
SYSPROF_AVAILABLE_IN_ALL
|
||||
void sysprof_profiler_menu_button_set_profiler (SysprofProfilerMenuButton *self,
|
||||
SysprofProfiler *profiler);
|
||||
void sysprof_profiler_menu_button_set_profiler (SysprofProfilerMenuButton *self,
|
||||
SysprofProfiler *profiler);
|
||||
SYSPROF_AVAILABLE_IN_ALL
|
||||
SysprofProfiler *sysprof_profiler_menu_button_get_profiler (SysprofProfilerMenuButton *self);
|
||||
|
||||
|
||||
@ -45,6 +45,6 @@ SYSPROF_AVAILABLE_IN_ALL
|
||||
GtkWidget *sysprof_recording_state_view_new (void);
|
||||
SYSPROF_AVAILABLE_IN_ALL
|
||||
void sysprof_recording_state_view_set_profiler (SysprofRecordingStateView *self,
|
||||
SysprofProfiler *profiler);
|
||||
SysprofProfiler *profiler);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
@ -36,12 +36,12 @@ G_DECLARE_FINAL_TYPE (SysprofThemeManager, sysprof_theme_manager, SYSPROF, THEME
|
||||
G_GNUC_INTERNAL
|
||||
SysprofThemeManager *sysprof_theme_manager_get_default (void);
|
||||
G_GNUC_INTERNAL
|
||||
void sysprof_theme_manager_unregister (SysprofThemeManager *self,
|
||||
guint registration_id);
|
||||
void sysprof_theme_manager_unregister (SysprofThemeManager *self,
|
||||
guint registration_id);
|
||||
G_GNUC_INTERNAL
|
||||
guint sysprof_theme_manager_register_resource (SysprofThemeManager *self,
|
||||
const gchar *theme_name,
|
||||
const gchar *variant,
|
||||
const gchar *resource);
|
||||
guint sysprof_theme_manager_register_resource (SysprofThemeManager *self,
|
||||
const gchar *theme_name,
|
||||
const gchar *variant,
|
||||
const gchar *resource);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
@ -49,12 +49,12 @@ struct _SysprofVisualizerListClass
|
||||
gpointer _reserved8;
|
||||
};
|
||||
|
||||
GtkWidget *sysprof_visualizer_list_new (void);
|
||||
void sysprof_visualizer_list_set_reader (SysprofVisualizerList *self,
|
||||
SysprofCaptureReader *reader);
|
||||
GtkWidget *sysprof_visualizer_list_new (void);
|
||||
void sysprof_visualizer_list_set_reader (SysprofVisualizerList *self,
|
||||
SysprofCaptureReader *reader);
|
||||
SysprofCaptureReader *sysprof_visualizer_list_get_reader (SysprofVisualizerList *self);
|
||||
SysprofZoomManager *sysprof_visualizer_list_get_zoom_manager (SysprofVisualizerList *self);
|
||||
void sysprof_visualizer_list_set_zoom_manager (SysprofVisualizerList *self,
|
||||
SysprofZoomManager *zoom_manager);
|
||||
void sysprof_visualizer_list_set_zoom_manager (SysprofVisualizerList *self,
|
||||
SysprofZoomManager *zoom_manager);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
@ -25,8 +25,8 @@
|
||||
#endif
|
||||
|
||||
#include <gtk/gtk.h>
|
||||
#include <sysprof.h>
|
||||
|
||||
#include "sysprof-capture-reader.h"
|
||||
#include "sysprof-zoom-manager.h"
|
||||
|
||||
G_BEGIN_DECLS
|
||||
@ -65,15 +65,19 @@ struct _SysprofVisualizerRowClass
|
||||
gpointer _reserved[16];
|
||||
};
|
||||
|
||||
void sysprof_visualizer_row_set_reader (SysprofVisualizerRow *self,
|
||||
SysprofCaptureReader *reader);
|
||||
SysprofZoomManager *sysprof_visualizer_row_get_zoom_manager (SysprofVisualizerRow *self);
|
||||
void sysprof_visualizer_row_set_zoom_manager (SysprofVisualizerRow *self,
|
||||
SysprofZoomManager *zoom_manager);
|
||||
void sysprof_visualizer_row_translate_points (SysprofVisualizerRow *self,
|
||||
const SysprofVisualizerRowRelativePoint *in_points,
|
||||
guint n_in_points,
|
||||
SysprofVisualizerRowAbsolutePoint *out_points,
|
||||
guint n_out_points);
|
||||
SYSPROF_AVAILABLE_IN_ALL
|
||||
void sysprof_visualizer_row_set_reader (SysprofVisualizerRow *self,
|
||||
SysprofCaptureReader *reader);
|
||||
SYSPROF_AVAILABLE_IN_ALL
|
||||
SysprofZoomManager *sysprof_visualizer_row_get_zoom_manager (SysprofVisualizerRow *self);
|
||||
SYSPROF_AVAILABLE_IN_ALL
|
||||
void sysprof_visualizer_row_set_zoom_manager (SysprofVisualizerRow *self,
|
||||
SysprofZoomManager *zoom_manager);
|
||||
SYSPROF_AVAILABLE_IN_ALL
|
||||
void sysprof_visualizer_row_translate_points (SysprofVisualizerRow *self,
|
||||
const SysprofVisualizerRowRelativePoint *in_points,
|
||||
guint n_in_points,
|
||||
SysprofVisualizerRowAbsolutePoint *out_points,
|
||||
guint n_out_points);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
@ -34,13 +34,13 @@ G_DECLARE_FINAL_TYPE (SysprofVisualizerTicks, sysprof_visualizer_ticks, SYSPROF,
|
||||
|
||||
GtkWidget *sysprof_visualizer_ticks_new (void);
|
||||
void sysprof_visualizer_ticks_set_epoch (SysprofVisualizerTicks *self,
|
||||
gint64 epoch);
|
||||
gint64 epoch);
|
||||
gint64 sysprof_visualizer_ticks_get_epoch (SysprofVisualizerTicks *self);
|
||||
void sysprof_visualizer_ticks_get_time_range (SysprofVisualizerTicks *self,
|
||||
gint64 *begin_time,
|
||||
gint64 *end_time);
|
||||
gint64 *begin_time,
|
||||
gint64 *end_time);
|
||||
void sysprof_visualizer_ticks_set_time_range (SysprofVisualizerTicks *self,
|
||||
gint64 begin_time,
|
||||
gint64 end_time);
|
||||
gint64 begin_time,
|
||||
gint64 end_time);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
@ -67,17 +67,17 @@ struct _SysprofVisualizerViewClass
|
||||
};
|
||||
|
||||
SYSPROF_AVAILABLE_IN_ALL
|
||||
GtkWidget *sysprof_visualizer_view_new (void);
|
||||
GtkWidget *sysprof_visualizer_view_new (void);
|
||||
SYSPROF_AVAILABLE_IN_ALL
|
||||
SysprofCaptureReader *sysprof_visualizer_view_get_reader (SysprofVisualizerView *self);
|
||||
SYSPROF_AVAILABLE_IN_ALL
|
||||
void sysprof_visualizer_view_set_reader (SysprofVisualizerView *self,
|
||||
SysprofCaptureReader *reader);
|
||||
void sysprof_visualizer_view_set_reader (SysprofVisualizerView *self,
|
||||
SysprofCaptureReader *reader);
|
||||
SYSPROF_AVAILABLE_IN_ALL
|
||||
SysprofZoomManager *sysprof_visualizer_view_get_zoom_manager (SysprofVisualizerView *self);
|
||||
SYSPROF_AVAILABLE_IN_ALL
|
||||
void sysprof_visualizer_view_set_zoom_manager (SysprofVisualizerView *self,
|
||||
SysprofZoomManager *zoom_manager);
|
||||
void sysprof_visualizer_view_set_zoom_manager (SysprofVisualizerView *self,
|
||||
SysprofZoomManager *zoom_manager);
|
||||
SYSPROF_AVAILABLE_IN_ALL
|
||||
SysprofSelection *sysprof_visualizer_view_get_selection (SysprofVisualizerView *self);
|
||||
|
||||
|
||||
@ -38,29 +38,29 @@ G_DECLARE_FINAL_TYPE (SysprofZoomManager, sysprof_zoom_manager, SYSPROF, ZOOM_MA
|
||||
SYSPROF_AVAILABLE_IN_ALL
|
||||
SysprofZoomManager *sysprof_zoom_manager_new (void);
|
||||
SYSPROF_AVAILABLE_IN_ALL
|
||||
gboolean sysprof_zoom_manager_get_can_zoom_in (SysprofZoomManager *self);
|
||||
gboolean sysprof_zoom_manager_get_can_zoom_in (SysprofZoomManager *self);
|
||||
SYSPROF_AVAILABLE_IN_ALL
|
||||
gboolean sysprof_zoom_manager_get_can_zoom_out (SysprofZoomManager *self);
|
||||
gboolean sysprof_zoom_manager_get_can_zoom_out (SysprofZoomManager *self);
|
||||
SYSPROF_AVAILABLE_IN_ALL
|
||||
gboolean sysprof_zoom_manager_get_min_zoom (SysprofZoomManager *self);
|
||||
gboolean sysprof_zoom_manager_get_min_zoom (SysprofZoomManager *self);
|
||||
SYSPROF_AVAILABLE_IN_ALL
|
||||
gboolean sysprof_zoom_manager_get_max_zoom (SysprofZoomManager *self);
|
||||
gboolean sysprof_zoom_manager_get_max_zoom (SysprofZoomManager *self);
|
||||
SYSPROF_AVAILABLE_IN_ALL
|
||||
void sysprof_zoom_manager_set_min_zoom (SysprofZoomManager *self,
|
||||
gdouble min_zoom);
|
||||
void sysprof_zoom_manager_set_min_zoom (SysprofZoomManager *self,
|
||||
gdouble min_zoom);
|
||||
SYSPROF_AVAILABLE_IN_ALL
|
||||
void sysprof_zoom_manager_set_max_zoom (SysprofZoomManager *self,
|
||||
gdouble max_zoom);
|
||||
void sysprof_zoom_manager_set_max_zoom (SysprofZoomManager *self,
|
||||
gdouble max_zoom);
|
||||
SYSPROF_AVAILABLE_IN_ALL
|
||||
void sysprof_zoom_manager_zoom_in (SysprofZoomManager *self);
|
||||
void sysprof_zoom_manager_zoom_in (SysprofZoomManager *self);
|
||||
SYSPROF_AVAILABLE_IN_ALL
|
||||
void sysprof_zoom_manager_zoom_out (SysprofZoomManager *self);
|
||||
void sysprof_zoom_manager_zoom_out (SysprofZoomManager *self);
|
||||
SYSPROF_AVAILABLE_IN_ALL
|
||||
void sysprof_zoom_manager_reset (SysprofZoomManager *self);
|
||||
void sysprof_zoom_manager_reset (SysprofZoomManager *self);
|
||||
SYSPROF_AVAILABLE_IN_ALL
|
||||
gdouble sysprof_zoom_manager_get_zoom (SysprofZoomManager *self);
|
||||
gdouble sysprof_zoom_manager_get_zoom (SysprofZoomManager *self);
|
||||
SYSPROF_AVAILABLE_IN_ALL
|
||||
void sysprof_zoom_manager_set_zoom (SysprofZoomManager *self,
|
||||
gdouble zoom);
|
||||
void sysprof_zoom_manager_set_zoom (SysprofZoomManager *self,
|
||||
gdouble zoom);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
Reference in New Issue
Block a user