sysprof: remove availability macros

We don't need this for the application.
This commit is contained in:
Christian Hergert
2023-07-18 20:00:20 -07:00
parent c4f1aff24e
commit 88ae57dc73
27 changed files with 0 additions and 174 deletions

View File

@ -34,11 +34,8 @@ G_BEGIN_DECLS
typedef struct _SysprofAxis SysprofAxis;
typedef struct _SysprofAxisClass SysprofAxisClass;
SYSPROF_AVAILABLE_IN_ALL
GType sysprof_axis_get_type (void) G_GNUC_CONST;
SYSPROF_AVAILABLE_IN_ALL
const char *sysprof_axis_get_title (SysprofAxis *self);
SYSPROF_AVAILABLE_IN_ALL
void sysprof_axis_set_title (SysprofAxis *self,
const char *title);

View File

@ -35,33 +35,21 @@ G_BEGIN_DECLS
typedef struct _SysprofCallgraphView SysprofCallgraphView;
typedef struct _SysprofCallgraphViewClass SysprofCallgraphViewClass;
SYSPROF_AVAILABLE_IN_ALL
GType sysprof_callgraph_view_get_type (void) G_GNUC_CONST;
SYSPROF_AVAILABLE_IN_ALL
SysprofCallgraph *sysprof_callgraph_view_get_callgraph (SysprofCallgraphView *self);
SYSPROF_AVAILABLE_IN_ALL
SysprofDocument *sysprof_callgraph_view_get_document (SysprofCallgraphView *self);
SYSPROF_AVAILABLE_IN_ALL
void sysprof_callgraph_view_set_document (SysprofCallgraphView *self,
SysprofDocument *document);
SYSPROF_AVAILABLE_IN_ALL
GListModel *sysprof_callgraph_view_get_traceables (SysprofCallgraphView *self);
SYSPROF_AVAILABLE_IN_ALL
void sysprof_callgraph_view_set_traceables (SysprofCallgraphView *self,
GListModel *model);
SYSPROF_AVAILABLE_IN_ALL
gboolean sysprof_callgraph_view_get_bottom_up (SysprofCallgraphView *self);
SYSPROF_AVAILABLE_IN_ALL
void sysprof_callgraph_view_set_bottom_up (SysprofCallgraphView *self,
gboolean bottom_up);
SYSPROF_AVAILABLE_IN_ALL
gboolean sysprof_callgraph_view_get_include_threads (SysprofCallgraphView *self);
SYSPROF_AVAILABLE_IN_ALL
void sysprof_callgraph_view_set_include_threads (SysprofCallgraphView *self,
gboolean include_threads);
SYSPROF_AVAILABLE_IN_ALL
gboolean sysprof_callgraph_view_get_hide_system_libraries (SysprofCallgraphView *self);
SYSPROF_AVAILABLE_IN_ALL
void sysprof_callgraph_view_set_hide_system_libraries (SysprofCallgraphView *self,
gboolean hide_system_libraries);

View File

@ -28,7 +28,6 @@ G_BEGIN_DECLS
#define SYSPROF_TYPE_CHART_LAYER (sysprof_chart_layer_get_type())
SYSPROF_AVAILABLE_IN_ALL
G_DECLARE_DERIVABLE_TYPE (SysprofChartLayer, sysprof_chart_layer, SYSPROF, CHART_LAYER, GtkWidget)
struct _SysprofChartLayerClass
@ -47,16 +46,12 @@ struct _SysprofChartLayerClass
gpointer _reserved[16];
};
SYSPROF_AVAILABLE_IN_ALL
const char *sysprof_chart_layer_get_title (SysprofChartLayer *self);
SYSPROF_AVAILABLE_IN_ALL
void sysprof_chart_layer_set_title (SysprofChartLayer *self,
const char *title);
SYSPROF_AVAILABLE_IN_ALL
gpointer sysprof_chart_layer_lookup_item (SysprofChartLayer *self,
double x,
double y);
SYSPROF_AVAILABLE_IN_ALL
void sysprof_chart_layer_snapshot_motion (SysprofChartLayer *self,
GtkSnapshot *snapshot,
double x,

View File

@ -45,22 +45,15 @@ struct _SysprofChartClass
gpointer _reserved[16];
};
SYSPROF_AVAILABLE_IN_ALL
GtkWidget *sysprof_chart_new (void);
SYSPROF_AVAILABLE_IN_ALL
SysprofSession *sysprof_chart_get_session (SysprofChart *self);
SYSPROF_AVAILABLE_IN_ALL
void sysprof_chart_set_session (SysprofChart *self,
SysprofSession *session);
SYSPROF_AVAILABLE_IN_ALL
const char *sysprof_chart_get_title (SysprofChart *self);
SYSPROF_AVAILABLE_IN_ALL
void sysprof_chart_set_title (SysprofChart *self,
const char *title);
SYSPROF_AVAILABLE_IN_ALL
void sysprof_chart_add_layer (SysprofChart *self,
SysprofChartLayer *layer);
SYSPROF_AVAILABLE_IN_ALL
void sysprof_chart_remove_layer (SysprofChart *self,
SysprofChartLayer *layer);

View File

@ -32,19 +32,13 @@ G_BEGIN_DECLS
#define SYSPROF_TYPE_COLUMN_LAYER (sysprof_column_layer_get_type())
SYSPROF_AVAILABLE_IN_ALL
G_DECLARE_FINAL_TYPE (SysprofColumnLayer, sysprof_column_layer, SYSPROF, COLUMN_LAYER, SysprofXYLayer)
SYSPROF_AVAILABLE_IN_ALL
SysprofChartLayer *sysprof_column_layer_new (void);
SYSPROF_AVAILABLE_IN_ALL
const GdkRGBA *sysprof_column_layer_get_color (SysprofColumnLayer *self);
SYSPROF_AVAILABLE_IN_ALL
void sysprof_column_layer_set_color (SysprofColumnLayer *self,
const GdkRGBA *color);
SYSPROF_AVAILABLE_IN_ALL
const GdkRGBA *sysprof_column_layer_get_hover_color (SysprofColumnLayer *self);
SYSPROF_AVAILABLE_IN_ALL
void sysprof_column_layer_set_hover_color (SysprofColumnLayer *self,
const GdkRGBA *hover_color);

View File

@ -26,19 +26,13 @@ G_BEGIN_DECLS
#define SYSPROF_TYPE_DUPLEX_LAYER (sysprof_duplex_layer_get_type())
SYSPROF_AVAILABLE_IN_ALL
G_DECLARE_FINAL_TYPE (SysprofDuplexLayer, sysprof_duplex_layer, SYSPROF, DUPLEX_LAYER, SysprofChartLayer)
SYSPROF_AVAILABLE_IN_ALL
SysprofDuplexLayer *sysprof_duplex_layer_new (void);
SYSPROF_AVAILABLE_IN_ALL
SysprofChartLayer *sysprof_duplex_layer_get_upper_layer (SysprofDuplexLayer *self);
SYSPROF_AVAILABLE_IN_ALL
void sysprof_duplex_layer_set_upper_layer (SysprofDuplexLayer *self,
SysprofChartLayer *layer);
SYSPROF_AVAILABLE_IN_ALL
SysprofChartLayer *sysprof_duplex_layer_get_lower_layer (SysprofDuplexLayer *self);
SYSPROF_AVAILABLE_IN_ALL
void sysprof_duplex_layer_set_lower_layer (SysprofDuplexLayer *self,
SysprofChartLayer *layer);

View File

@ -29,39 +29,25 @@ G_BEGIN_DECLS
#define SYSPROF_TYPE_LINE_LAYER (sysprof_line_layer_get_type())
SYSPROF_AVAILABLE_IN_ALL
G_DECLARE_FINAL_TYPE (SysprofLineLayer, sysprof_line_layer, SYSPROF, LINE_LAYER, SysprofXYLayer)
SYSPROF_AVAILABLE_IN_ALL
SysprofChartLayer *sysprof_line_layer_new (void);
SYSPROF_AVAILABLE_IN_ALL
gboolean sysprof_line_layer_get_antialias (SysprofLineLayer *self);
SYSPROF_AVAILABLE_IN_ALL
void sysprof_line_layer_set_antialias (SysprofLineLayer *self,
gboolean antialias);
SYSPROF_AVAILABLE_IN_ALL
const GdkRGBA *sysprof_line_layer_get_color (SysprofLineLayer *self);
SYSPROF_AVAILABLE_IN_ALL
void sysprof_line_layer_set_color (SysprofLineLayer *self,
const GdkRGBA *color);
SYSPROF_AVAILABLE_IN_ALL
gboolean sysprof_line_layer_get_dashed (SysprofLineLayer *self);
SYSPROF_AVAILABLE_IN_ALL
void sysprof_line_layer_set_dashed (SysprofLineLayer *self,
gboolean dashed);
SYSPROF_AVAILABLE_IN_ALL
gboolean sysprof_line_layer_get_fill (SysprofLineLayer *self);
SYSPROF_AVAILABLE_IN_ALL
void sysprof_line_layer_set_fill (SysprofLineLayer *self,
gboolean fill);
SYSPROF_AVAILABLE_IN_ALL
gboolean sysprof_line_layer_get_flip_y (SysprofLineLayer *self);
SYSPROF_AVAILABLE_IN_ALL
void sysprof_line_layer_set_flip_y (SysprofLineLayer *self,
gboolean flip_y);
SYSPROF_AVAILABLE_IN_ALL
gboolean sysprof_line_layer_get_spline (SysprofLineLayer *self);
SYSPROF_AVAILABLE_IN_ALL
void sysprof_line_layer_set_spline (SysprofLineLayer *self,
gboolean spline);

View File

@ -28,14 +28,10 @@ G_BEGIN_DECLS
#define SYSPROF_TYPE_MARK_CHART (sysprof_mark_chart_get_type())
SYSPROF_AVAILABLE_IN_ALL
G_DECLARE_FINAL_TYPE (SysprofMarkChart, sysprof_mark_chart, SYSPROF, MARK_CHART, GtkWidget)
SYSPROF_AVAILABLE_IN_ALL
GtkWidget *sysprof_mark_chart_new (void);
SYSPROF_AVAILABLE_IN_ALL
SysprofSession *sysprof_mark_chart_get_session (SysprofMarkChart *self);
SYSPROF_AVAILABLE_IN_ALL
void sysprof_mark_chart_set_session (SysprofMarkChart *self,
SysprofSession *session);

View File

@ -30,14 +30,10 @@ G_BEGIN_DECLS
#define SYSPROF_TYPE_MARK_TABLE (sysprof_mark_table_get_type())
SYSPROF_AVAILABLE_IN_ALL
G_DECLARE_FINAL_TYPE (SysprofMarkTable, sysprof_mark_table, SYSPROF, MARK_TABLE, GtkWidget)
SYSPROF_AVAILABLE_IN_ALL
GtkWidget *sysprof_mark_table_new (void);
SYSPROF_AVAILABLE_IN_ALL
SysprofSession *sysprof_mark_table_get_session (SysprofMarkTable *self);
SYSPROF_AVAILABLE_IN_ALL
void sysprof_mark_table_set_session (SysprofMarkTable *self,
SysprofSession *session);

View File

@ -32,9 +32,7 @@ G_BEGIN_DECLS
typedef struct _SysprofMemoryCallgraphView SysprofMemoryCallgraphView;
typedef struct _SysprofMemoryCallgraphViewClass SysprofMemoryCallgraphViewClass;
SYSPROF_AVAILABLE_IN_ALL
GType sysprof_memory_callgraph_view_get_type (void) G_GNUC_CONST;
SYSPROF_AVAILABLE_IN_ALL
GtkWidget *sysprof_memory_callgraph_view_new (void);
G_DEFINE_AUTOPTR_CLEANUP_FUNC (SysprofMemoryCallgraphView, g_object_unref)

View File

@ -28,12 +28,9 @@ G_BEGIN_DECLS
#define SYSPROF_TYPE_NORMALIZED_SERIES_ITEM (sysprof_normalized_series_item_get_type())
SYSPROF_AVAILABLE_IN_ALL
G_DECLARE_FINAL_TYPE (SysprofNormalizedSeriesItem, sysprof_normalized_series_item, SYSPROF, NORMALIZED_SERIES_ITEM, GObject)
SYSPROF_AVAILABLE_IN_ALL
gpointer sysprof_normalized_series_item_get_item (SysprofNormalizedSeriesItem *self);
SYSPROF_AVAILABLE_IN_ALL
double sysprof_normalized_series_item_get_value (SysprofNormalizedSeriesItem *self);
G_END_DECLS

View File

@ -35,36 +35,24 @@ G_BEGIN_DECLS
typedef struct _SysprofNormalizedSeries SysprofNormalizedSeries;
typedef struct _SysprofNormalizedSeriesClass SysprofNormalizedSeriesClass;
SYSPROF_AVAILABLE_IN_ALL
GType sysprof_normalized_series_get_type (void) G_GNUC_CONST;
SYSPROF_AVAILABLE_IN_ALL
SysprofSeries *sysprof_normalized_series_new (SysprofSeries *series,
SysprofAxis *axis,
GtkExpression *expression);
SYSPROF_AVAILABLE_IN_ALL
gboolean sysprof_normalized_series_get_inverted (SysprofNormalizedSeries *self);
SYSPROF_AVAILABLE_IN_ALL
void sysprof_normalized_series_set_inverted (SysprofNormalizedSeries *self,
gboolean inverted);
SYSPROF_AVAILABLE_IN_ALL
GtkExpression *sysprof_normalized_series_get_expression (SysprofNormalizedSeries *self);
SYSPROF_AVAILABLE_IN_ALL
void sysprof_normalized_series_set_expression (SysprofNormalizedSeries *self,
GtkExpression *expression);
SYSPROF_AVAILABLE_IN_ALL
SysprofAxis *sysprof_normalized_series_get_axis (SysprofNormalizedSeries *self);
SYSPROF_AVAILABLE_IN_ALL
void sysprof_normalized_series_set_axis (SysprofNormalizedSeries *self,
SysprofAxis *axis);
SYSPROF_AVAILABLE_IN_ALL
SysprofSeries *sysprof_normalized_series_get_series (SysprofNormalizedSeries *self);
SYSPROF_AVAILABLE_IN_ALL
void sysprof_normalized_series_set_series (SysprofNormalizedSeries *self,
SysprofSeries *series);
SYSPROF_AVAILABLE_IN_ALL
double sysprof_normalized_series_value_at (SysprofNormalizedSeries *self,
guint position);
SYSPROF_AVAILABLE_IN_ALL
const double *sysprof_normalized_series_get_values (SysprofNormalizedSeries *self,
guint *n_values);

View File

@ -34,16 +34,11 @@ G_BEGIN_DECLS
typedef struct _SysprofSeries SysprofSeries;
typedef struct _SysprofSeriesClass SysprofSeriesClass;
SYSPROF_AVAILABLE_IN_ALL
GType sysprof_series_get_type (void) G_GNUC_CONST;
SYSPROF_AVAILABLE_IN_ALL
GListModel *sysprof_series_get_model (SysprofSeries *self);
SYSPROF_AVAILABLE_IN_ALL
void sysprof_series_set_model (SysprofSeries *self,
GListModel *model);
SYSPROF_AVAILABLE_IN_ALL
const char *sysprof_series_get_title (SysprofSeries *self);
SYSPROF_AVAILABLE_IN_ALL
void sysprof_series_set_title (SysprofSeries *self,
const char *title);

View File

@ -28,12 +28,9 @@ G_BEGIN_DECLS
#define SYSPROF_TYPE_SESSION_MODEL_ITEM (sysprof_session_model_item_get_type())
SYSPROF_AVAILABLE_IN_ALL
G_DECLARE_FINAL_TYPE (SysprofSessionModelItem, sysprof_session_model_item, SYSPROF, SESSION_MODEL_ITEM, GObject)
SYSPROF_AVAILABLE_IN_ALL
SysprofSession *sysprof_session_model_item_get_session (SysprofSessionModelItem *self);
SYSPROF_AVAILABLE_IN_ALL
gpointer sysprof_session_model_item_get_item (SysprofSessionModelItem *self);
G_END_DECLS

View File

@ -28,20 +28,14 @@ G_BEGIN_DECLS
#define SYSPROF_TYPE_SESSION_MODEL (sysprof_session_model_get_type())
SYSPROF_AVAILABLE_IN_ALL
G_DECLARE_FINAL_TYPE (SysprofSessionModel, sysprof_session_model, SYSPROF, SESSION_MODEL, GObject)
SYSPROF_AVAILABLE_IN_ALL
SysprofSessionModel *sysprof_session_model_new (SysprofSession *session,
GListModel *model);
SYSPROF_AVAILABLE_IN_ALL
GListModel *sysprof_session_model_get_model (SysprofSessionModel *self);
SYSPROF_AVAILABLE_IN_ALL
void sysprof_session_model_set_model (SysprofSessionModel *self,
GListModel *model);
SYSPROF_AVAILABLE_IN_ALL
SysprofSession *sysprof_session_model_get_session (SysprofSessionModel *self);
SYSPROF_AVAILABLE_IN_ALL
void sysprof_session_model_set_session (SysprofSessionModel *self,
SysprofSession *session);

View File

@ -31,29 +31,18 @@ G_BEGIN_DECLS
#define SYSPROF_TYPE_SESSION (sysprof_session_get_type())
SYSPROF_AVAILABLE_IN_ALL
G_DECLARE_FINAL_TYPE (SysprofSession, sysprof_session, SYSPROF, SESSION, GObject)
SYSPROF_AVAILABLE_IN_ALL
SysprofSession *sysprof_session_new (SysprofDocument *document);
SYSPROF_AVAILABLE_IN_ALL
SysprofDocument *sysprof_session_get_document (SysprofSession *self);
SYSPROF_AVAILABLE_IN_ALL
const SysprofTimeSpan *sysprof_session_get_document_time (SysprofSession *self);
SYSPROF_AVAILABLE_IN_ALL
GtkFilter *sysprof_session_get_filter (SysprofSession *self);
SYSPROF_AVAILABLE_IN_ALL
const SysprofTimeSpan *sysprof_session_get_selected_time (SysprofSession *self);
SYSPROF_AVAILABLE_IN_ALL
const SysprofTimeSpan *sysprof_session_get_visible_time (SysprofSession *self);
SYSPROF_AVAILABLE_IN_ALL
SysprofAxis *sysprof_session_get_visible_time_axis (SysprofSession *self);
SYSPROF_AVAILABLE_IN_ALL
SysprofAxis *sysprof_session_get_selected_time_axis (SysprofSession *self);
SYSPROF_AVAILABLE_IN_ALL
void sysprof_session_select_time (SysprofSession *self,
const SysprofTimeSpan *time_span);
SYSPROF_AVAILABLE_IN_ALL
void sysprof_session_zoom_to_selection (SysprofSession *self);
G_END_DECLS

View File

@ -29,19 +29,13 @@ G_BEGIN_DECLS
#define SYSPROF_TYPE_SPLIT_LAYER (sysprof_split_layer_get_type())
SYSPROF_AVAILABLE_IN_ALL
G_DECLARE_FINAL_TYPE (SysprofSplitLayer, sysprof_split_layer, SYSPROF, SPLIT_LAYER, SysprofChartLayer)
SYSPROF_AVAILABLE_IN_ALL
SysprofChartLayer *sysprof_split_layer_new (void);
SYSPROF_AVAILABLE_IN_ALL
SysprofChartLayer *sysprof_split_layer_get_bottom (SysprofSplitLayer *self);
SYSPROF_AVAILABLE_IN_ALL
void sysprof_split_layer_set_bottom (SysprofSplitLayer *self,
SysprofChartLayer *top);
SYSPROF_AVAILABLE_IN_ALL
SysprofChartLayer *sysprof_split_layer_get_top (SysprofSplitLayer *self);
SYSPROF_AVAILABLE_IN_ALL
void sysprof_split_layer_set_top (SysprofSplitLayer *self,
SysprofChartLayer *bottom);

View File

@ -26,24 +26,16 @@ G_BEGIN_DECLS
#define SYSPROF_TYPE_TIME_LABEL (sysprof_time_label_get_type())
SYSPROF_AVAILABLE_IN_ALL
G_DECLARE_FINAL_TYPE (SysprofTimeLabel, sysprof_time_label, SYSPROF, TIME_LABEL, GtkWidget)
SYSPROF_AVAILABLE_IN_ALL
GtkWidget *sysprof_time_label_new (void);
SYSPROF_AVAILABLE_IN_ALL
gboolean sysprof_time_label_get_show_zero (SysprofTimeLabel *self);
SYSPROF_AVAILABLE_IN_ALL
void sysprof_time_label_set_show_zero (SysprofTimeLabel *self,
gboolean show_zero);
SYSPROF_AVAILABLE_IN_ALL
gint64 sysprof_time_label_get_duration (SysprofTimeLabel *self);
SYSPROF_AVAILABLE_IN_ALL
void sysprof_time_label_set_duration (SysprofTimeLabel *self,
gint64 duration);
SYSPROF_AVAILABLE_IN_ALL
gint64 sysprof_time_label_get_time_offset (SysprofTimeLabel *self);
SYSPROF_AVAILABLE_IN_ALL
void sysprof_time_label_set_time_offset (SysprofTimeLabel *self,
gint64 time_offset);

View File

@ -26,17 +26,12 @@ G_BEGIN_DECLS
#define SYSPROF_TYPE_TIME_RULER (sysprof_time_ruler_get_type())
SYSPROF_AVAILABLE_IN_ALL
G_DECLARE_FINAL_TYPE (SysprofTimeRuler, sysprof_time_ruler, SYSPROF, TIME_RULER, GtkWidget)
SYSPROF_AVAILABLE_IN_ALL
GtkWidget *sysprof_time_ruler_new (void);
SYSPROF_AVAILABLE_IN_ALL
SysprofSession *sysprof_time_ruler_get_session (SysprofTimeRuler *self);
SYSPROF_AVAILABLE_IN_ALL
void sysprof_time_ruler_set_session (SysprofTimeRuler *self,
SysprofSession *session);
SYSPROF_AVAILABLE_IN_ALL
char *sysprof_time_ruler_get_label_at_point (SysprofTimeRuler *self,
double x);

View File

@ -28,16 +28,11 @@ G_BEGIN_DECLS
#define SYSPROF_TYPE_TIME_SERIES_ITEM (sysprof_time_series_item_get_type())
SYSPROF_AVAILABLE_IN_ALL
G_DECLARE_FINAL_TYPE (SysprofTimeSeriesItem, sysprof_time_series_item, SYSPROF, TIME_SERIES_ITEM, GObject)
SYSPROF_AVAILABLE_IN_ALL
gint64 sysprof_time_series_item_get_begin_time (SysprofTimeSeriesItem *self);
SYSPROF_AVAILABLE_IN_ALL
gint64 sysprof_time_series_item_get_duration (SysprofTimeSeriesItem *self);
SYSPROF_AVAILABLE_IN_ALL
gint64 sysprof_time_series_item_get_end_time (SysprofTimeSeriesItem *self);
SYSPROF_AVAILABLE_IN_ALL
gpointer sysprof_time_series_item_get_item (SysprofTimeSeriesItem *self);
G_END_DECLS

View File

@ -34,30 +34,21 @@ G_BEGIN_DECLS
typedef struct _SysprofTimeSeries SysprofTimeSeries;
typedef struct _SysprofTimeSeriesClass SysprofTimeSeriesClass;
SYSPROF_AVAILABLE_IN_ALL
GType sysprof_time_series_get_type (void) G_GNUC_CONST;
SYSPROF_AVAILABLE_IN_ALL
SysprofSeries *sysprof_time_series_new (const char *title,
GListModel *model,
GtkExpression *begin_time_expression,
GtkExpression *end_time_expression,
GtkExpression *label_expression);
SYSPROF_AVAILABLE_IN_ALL
GtkExpression *sysprof_time_series_get_begin_time_expression (SysprofTimeSeries *self);
SYSPROF_AVAILABLE_IN_ALL
void sysprof_time_series_set_begin_time_expression (SysprofTimeSeries *self,
GtkExpression *time_expression);
SYSPROF_AVAILABLE_IN_ALL
GtkExpression *sysprof_time_series_get_end_time_expression (SysprofTimeSeries *self);
SYSPROF_AVAILABLE_IN_ALL
void sysprof_time_series_set_end_time_expression (SysprofTimeSeries *self,
GtkExpression *end_time_expression);
SYSPROF_AVAILABLE_IN_ALL
GtkExpression *sysprof_time_series_get_label_expression (SysprofTimeSeries *self);
SYSPROF_AVAILABLE_IN_ALL
void sysprof_time_series_set_label_expression (SysprofTimeSeries *self,
GtkExpression *label_expression);
SYSPROF_AVAILABLE_IN_ALL
char *sysprof_time_series_dup_label (SysprofTimeSeries *self,
guint position);

View File

@ -29,29 +29,19 @@ G_BEGIN_DECLS
#define SYSPROF_TYPE_TIME_SPAN_LAYER (sysprof_time_span_layer_get_type())
SYSPROF_AVAILABLE_IN_ALL
G_DECLARE_FINAL_TYPE (SysprofTimeSpanLayer, sysprof_time_span_layer, SYSPROF, TIME_SPAN_LAYER, SysprofChartLayer)
SYSPROF_AVAILABLE_IN_ALL
SysprofChartLayer *sysprof_time_span_layer_new (void);
SYSPROF_AVAILABLE_IN_ALL
const GdkRGBA *sysprof_time_span_layer_get_color (SysprofTimeSpanLayer *self);
SYSPROF_AVAILABLE_IN_ALL
void sysprof_time_span_layer_set_color (SysprofTimeSpanLayer *self,
const GdkRGBA *color);
SYSPROF_AVAILABLE_IN_ALL
const GdkRGBA *sysprof_time_span_layer_get_event_color (SysprofTimeSpanLayer *self);
SYSPROF_AVAILABLE_IN_ALL
void sysprof_time_span_layer_set_event_color (SysprofTimeSpanLayer *self,
const GdkRGBA *event_color);
SYSPROF_AVAILABLE_IN_ALL
SysprofTimeSeries *sysprof_time_span_layer_get_series (SysprofTimeSpanLayer *self);
SYSPROF_AVAILABLE_IN_ALL
void sysprof_time_span_layer_set_series (SysprofTimeSpanLayer *self,
SysprofTimeSeries *series);
SYSPROF_AVAILABLE_IN_ALL
SysprofAxis *sysprof_time_span_layer_get_axis (SysprofTimeSpanLayer *self);
SYSPROF_AVAILABLE_IN_ALL
void sysprof_time_span_layer_set_axis (SysprofTimeSpanLayer *self,
SysprofAxis *axis);

View File

@ -32,19 +32,13 @@ G_BEGIN_DECLS
typedef struct _SysprofValueAxis SysprofValueAxis;
typedef struct _SysprofValueAxisClass SysprofValueAxisClass;
SYSPROF_AVAILABLE_IN_ALL
GType sysprof_value_axis_get_type (void) G_GNUC_CONST;
SYSPROF_AVAILABLE_IN_ALL
SysprofAxis *sysprof_value_axis_new (double min_value,
double max_value);
SYSPROF_AVAILABLE_IN_ALL
double sysprof_value_axis_get_min_value (SysprofValueAxis *self);
SYSPROF_AVAILABLE_IN_ALL
void sysprof_value_axis_set_min_value (SysprofValueAxis *self,
double min_value);
SYSPROF_AVAILABLE_IN_ALL
double sysprof_value_axis_get_max_value (SysprofValueAxis *self);
SYSPROF_AVAILABLE_IN_ALL
void sysprof_value_axis_set_max_value (SysprofValueAxis *self,
double max_value);

View File

@ -32,9 +32,7 @@ G_BEGIN_DECLS
typedef struct _SysprofWeightedCallgraphView SysprofWeightedCallgraphView;
typedef struct _SysprofWeightedCallgraphViewClass SysprofWeightedCallgraphViewClass;
SYSPROF_AVAILABLE_IN_ALL
GType sysprof_weighted_callgraph_view_get_type (void) G_GNUC_CONST;
SYSPROF_AVAILABLE_IN_ALL
GtkWidget *sysprof_weighted_weighted_callgraph_view_new (void);
G_DEFINE_AUTOPTR_CLEANUP_FUNC (SysprofWeightedCallgraphView, g_object_unref)

View File

@ -30,29 +30,19 @@ G_BEGIN_DECLS
#define SYSPROF_TYPE_XY_LAYER (sysprof_xy_layer_get_type())
SYSPROF_AVAILABLE_IN_ALL
G_DECLARE_FINAL_TYPE (SysprofXYLayer, sysprof_xy_layer, SYSPROF, XY_LAYER, SysprofChartLayer)
SYSPROF_AVAILABLE_IN_ALL
SysprofChartLayer *sysprof_xy_layer_new (void);
SYSPROF_AVAILABLE_IN_ALL
gboolean sysprof_xy_layer_get_flip_y (SysprofXYLayer *self);
SYSPROF_AVAILABLE_IN_ALL
void sysprof_xy_layer_set_flip_y (SysprofXYLayer *self,
gboolean flip_y);
SYSPROF_AVAILABLE_IN_ALL
SysprofXYSeries *sysprof_xy_layer_get_series (SysprofXYLayer *self);
SYSPROF_AVAILABLE_IN_ALL
void sysprof_xy_layer_set_series (SysprofXYLayer *self,
SysprofXYSeries *series);
SYSPROF_AVAILABLE_IN_ALL
SysprofAxis *sysprof_xy_layer_get_x_axis (SysprofXYLayer *self);
SYSPROF_AVAILABLE_IN_ALL
void sysprof_xy_layer_set_x_axis (SysprofXYLayer *self,
SysprofAxis *x_axis);
SYSPROF_AVAILABLE_IN_ALL
SysprofAxis *sysprof_xy_layer_get_y_axis (SysprofXYLayer *self);
SYSPROF_AVAILABLE_IN_ALL
void sysprof_xy_layer_set_y_axis (SysprofXYLayer *self,
SysprofAxis *y_axis);

View File

@ -28,16 +28,12 @@ G_BEGIN_DECLS
#define SYSPROF_TYPE_XY_SERIES_ITEM (sysprof_xy_series_item_get_type())
SYSPROF_AVAILABLE_IN_ALL
G_DECLARE_FINAL_TYPE (SysprofXYSeriesItem, sysprof_xy_series_item, SYSPROF, XY_SERIES_ITEM, GObject)
SYSPROF_AVAILABLE_IN_ALL
void sysprof_xy_series_item_get_x_value (SysprofXYSeriesItem *self,
GValue *x_value);
SYSPROF_AVAILABLE_IN_ALL
void sysprof_xy_series_item_get_y_value (SysprofXYSeriesItem *self,
GValue *y_value);
SYSPROF_AVAILABLE_IN_ALL
gpointer sysprof_xy_series_item_get_item (SysprofXYSeriesItem *self);
G_END_DECLS

View File

@ -34,21 +34,15 @@ G_BEGIN_DECLS
typedef struct _SysprofXYSeries SysprofXYSeries;
typedef struct _SysprofXYSeriesClass SysprofXYSeriesClass;
SYSPROF_AVAILABLE_IN_ALL
GType sysprof_xy_series_get_type (void) G_GNUC_CONST;
SYSPROF_AVAILABLE_IN_ALL
SysprofSeries *sysprof_xy_series_new (const char *title,
GListModel *model,
GtkExpression *x_expression,
GtkExpression *y_expression);
SYSPROF_AVAILABLE_IN_ALL
GtkExpression *sysprof_xy_series_get_x_expression (SysprofXYSeries *self);
SYSPROF_AVAILABLE_IN_ALL
void sysprof_xy_series_set_x_expression (SysprofXYSeries *self,
GtkExpression *x_expression);
SYSPROF_AVAILABLE_IN_ALL
GtkExpression *sysprof_xy_series_get_y_expression (SysprofXYSeries *self);
SYSPROF_AVAILABLE_IN_ALL
void sysprof_xy_series_set_y_expression (SysprofXYSeries *self,
GtkExpression *y_expression);