[gnome-builder/wip/chergert/debugger: 154/163] debugmanager: add various signals
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder/wip/chergert/debugger: 154/163] debugmanager: add various signals
- Date: Tue, 9 May 2017 00:57:57 +0000 (UTC)
commit c33539241e06667e3dbb7d8c100c84d586a224fa
Author: Christian Hergert <chergert redhat com>
Date: Fri Apr 7 20:02:29 2017 -0700
debugmanager: add various signals
libide/debugger/ide-debug-manager.c | 22 ++++++++++++++++++++++
1 files changed, 22 insertions(+), 0 deletions(-)
---
diff --git a/libide/debugger/ide-debug-manager.c b/libide/debugger/ide-debug-manager.c
index 5257a45..f328873 100644
--- a/libide/debugger/ide-debug-manager.c
+++ b/libide/debugger/ide-debug-manager.c
@@ -65,6 +65,7 @@ enum {
};
static GParamSpec *properties [N_PROPS];
+static guint signals [N_SIGNALS];
static void
ide_debug_manager_set_active (IdeDebugManager *self,
@@ -307,6 +308,27 @@ ide_debug_manager_class_init (IdeDebugManagerClass *klass)
(G_PARAM_READABLE | G_PARAM_STATIC_STRINGS));
g_object_class_install_properties (object_class, N_PROPS, properties);
+
+ signals [BREAKPOINT_ADDED] =
+ g_signal_new ("breakpoint-added",
+ G_TYPE_FROM_CLASS (klass),
+ G_SIGNAL_RUN_LAST,
+ 0, NULL, NULL, NULL,
+ G_TYPE_NONE, 1, IDE_TYPE_BREAKPOINT);
+
+ signals [BREAKPOINT_REMOVED] =
+ g_signal_new ("breakpoint-rmeoved",
+ G_TYPE_FROM_CLASS (klass),
+ G_SIGNAL_RUN_LAST,
+ 0, NULL, NULL, NULL,
+ G_TYPE_NONE, 1, IDE_TYPE_BREAKPOINT);
+
+ signals [BREAKPOINT_REACHED] =
+ g_signal_new ("breakpoint-reason",
+ G_TYPE_FROM_CLASS (klass),
+ G_SIGNAL_RUN_LAST,
+ 0, NULL, NULL, NULL,
+ G_TYPE_NONE, 1, IDE_TYPE_BREAKPOINT);
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]