mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2026-02-12 16:10:54 +00:00
libsysprof-ui: add access to control source from .ui
This commit is contained in:
@ -31,6 +31,7 @@
|
|||||||
#include "sysprof-platform.h"
|
#include "sysprof-platform.h"
|
||||||
|
|
||||||
#include "sysprof-aid-icon.h"
|
#include "sysprof-aid-icon.h"
|
||||||
|
#include "sysprof-control-source.h"
|
||||||
#include "sysprof-environ-editor.h"
|
#include "sysprof-environ-editor.h"
|
||||||
#include "sysprof-model-filter.h"
|
#include "sysprof-model-filter.h"
|
||||||
#include "sysprof-profiler-assistant.h"
|
#include "sysprof-profiler-assistant.h"
|
||||||
@ -394,6 +395,7 @@ sysprof_profiler_assistant_class_init (SysprofProfilerAssistantClass *klass)
|
|||||||
g_type_ensure (SYSPROF_TYPE_AID_ICON);
|
g_type_ensure (SYSPROF_TYPE_AID_ICON);
|
||||||
g_type_ensure (SYSPROF_TYPE_BATTERY_AID);
|
g_type_ensure (SYSPROF_TYPE_BATTERY_AID);
|
||||||
g_type_ensure (SYSPROF_TYPE_CALLGRAPH_AID);
|
g_type_ensure (SYSPROF_TYPE_CALLGRAPH_AID);
|
||||||
|
g_type_ensure (SYSPROF_TYPE_CONTROL_SOURCE);
|
||||||
g_type_ensure (SYSPROF_TYPE_CPU_AID);
|
g_type_ensure (SYSPROF_TYPE_CPU_AID);
|
||||||
g_type_ensure (SYSPROF_TYPE_DISKSTAT_SOURCE);
|
g_type_ensure (SYSPROF_TYPE_DISKSTAT_SOURCE);
|
||||||
g_type_ensure (SYSPROF_TYPE_ENVIRON_EDITOR);
|
g_type_ensure (SYSPROF_TYPE_ENVIRON_EDITOR);
|
||||||
|
|||||||
@ -26,8 +26,10 @@ G_BEGIN_DECLS
|
|||||||
|
|
||||||
#define SYSPROF_TYPE_CONTROL_SOURCE (sysprof_control_source_get_type())
|
#define SYSPROF_TYPE_CONTROL_SOURCE (sysprof_control_source_get_type())
|
||||||
|
|
||||||
|
SYSPROF_AVAILABLE_IN_3_38
|
||||||
G_DECLARE_FINAL_TYPE (SysprofControlSource, sysprof_control_source, SYSPROF, CONTROL_SOURCE, GObject)
|
G_DECLARE_FINAL_TYPE (SysprofControlSource, sysprof_control_source, SYSPROF, CONTROL_SOURCE, GObject)
|
||||||
|
|
||||||
|
SYSPROF_AVAILABLE_IN_3_38
|
||||||
SysprofControlSource *sysprof_control_source_new (void);
|
SysprofControlSource *sysprof_control_source_new (void);
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
|||||||
@ -28,6 +28,7 @@ G_BEGIN_DECLS
|
|||||||
# include "sysprof-callgraph-profile.h"
|
# include "sysprof-callgraph-profile.h"
|
||||||
# include "sysprof-capture-gobject.h"
|
# include "sysprof-capture-gobject.h"
|
||||||
# include "sysprof-capture-symbol-resolver.h"
|
# include "sysprof-capture-symbol-resolver.h"
|
||||||
|
# include "sysprof-control-source.h"
|
||||||
# include "sysprof-diskstat-source.h"
|
# include "sysprof-diskstat-source.h"
|
||||||
# include "sysprof-elf-symbol-resolver.h"
|
# include "sysprof-elf-symbol-resolver.h"
|
||||||
# include "sysprof-gjs-source.h"
|
# include "sysprof-gjs-source.h"
|
||||||
|
|||||||
Reference in New Issue
Block a user