[gnome-builder/wip/chergert/debugger] debugger: stub out debugger
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder/wip/chergert/debugger] debugger: stub out debugger
- Date: Tue, 30 Aug 2016 02:46:44 +0000 (UTC)
commit 9a4e01c0d5bb968d8ca35674b27f03fcec1f1c60
Author: Christian Hergert <chergert redhat com>
Date: Mon Aug 29 19:46:24 2016 -0700
debugger: stub out debugger
configure.ac | 2 +
plugins/Makefile.am | 1 +
plugins/debugger/Makefile.am | 38 ++++
plugins/debugger/configure.ac | 12 +
plugins/debugger/debugger.gresource.xml | 7 +
plugins/debugger/debugger.plugin | 9 +
plugins/debugger/gbp-debugger-perspective.c | 126 ++++++++++++
plugins/debugger/gbp-debugger-perspective.h | 32 +++
plugins/debugger/gbp-debugger-perspective.ui | 5 +
plugins/debugger/gbp-debugger-plugin.c | 32 +++
plugins/debugger/gbp-debugger-workbench-addin.c | 249 +++++++++++++++++++++++
plugins/debugger/gbp-debugger-workbench-addin.h | 32 +++
plugins/debugger/gtk/menus.ui | 3 +
po/POTFILES.in | 4 +
14 files changed, 552 insertions(+), 0 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 7c33b2f..dbfb79c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -287,6 +287,7 @@ m4_include([plugins/comment-code/configure.ac])
m4_include([plugins/contributing/configure.ac])
m4_include([plugins/create-project/configure.ac])
m4_include([plugins/ctags/configure.ac])
+m4_include([plugins/debugger/configure.ac])
m4_include([plugins/devhelp/configure.ac])
m4_include([plugins/file-search/configure.ac])
m4_include([plugins/flatpak/configure.ac])
@@ -576,6 +577,7 @@ echo " Command Bar .......................... : ${enable_command_bar_plugin}"
echo " Comment Code.......................... : ${enable_comment_code_plugin}"
echo " Contribute ........................... : ${enable_contributing_plugin}"
echo " Ctags ................................ : ${enable_ctags_plugin}"
+echo " Debugger ............................. : ${enable_debugger_plugin}"
echo " Devhelp .............................. : ${enable_devhelp_plugin}"
echo " Editorconfig ......................... : ${enable_editorconfig}"
echo " Fpaste.org ........................... : ${enable_fpaste_plugin}"
diff --git a/plugins/Makefile.am b/plugins/Makefile.am
index 21ed04b..2a80e6b 100644
--- a/plugins/Makefile.am
+++ b/plugins/Makefile.am
@@ -10,6 +10,7 @@ SUBDIRS = \
contributing \
create-project \
ctags \
+ debugger \
devhelp \
file-search \
flatpak \
diff --git a/plugins/debugger/Makefile.am b/plugins/debugger/Makefile.am
new file mode 100644
index 0000000..65692c1
--- /dev/null
+++ b/plugins/debugger/Makefile.am
@@ -0,0 +1,38 @@
+if ENABLE_SYSPROF_PLUGIN
+
+DISTCLEANFILES =
+BUILT_SOURCES =
+CLEANFILES =
+EXTRA_DIST = $(plugin_DATA)
+
+plugindir = $(libdir)/gnome-builder/plugins
+plugin_LTLIBRARIES = libdebugger-plugin.la
+dist_plugin_DATA = debugger.plugin
+
+libdebugger_plugin_la_SOURCES = \
+ gbp-debugger-plugin.c \
+ gbp-debugger-perspective.c \
+ gbp-debugger-perspective.h \
+ gbp-debugger-workbench-addin.c \
+ gbp-debugger-workbench-addin.h \
+ $(NULL)
+
+nodist_libdebugger_plugin_la_SOURCES = \
+ gbp-debugger-resources.c \
+ gbp-debugger-resources.h
+
+libdebugger_plugin_la_CFLAGS = $(PLUGIN_CFLAGS) $(SYSPROF_CFLAGS)
+libdebugger_plugin_la_LIBADD = $(PLUGIN_LIBS) $(SYSPROF_LIBS)
+libdebugger_plugin_la_LDFLAGS = $(PLUGIN_LDFLAGS) $(SYSPROF_LDFLAGS)
+
+glib_resources_c = gbp-debugger-resources.c
+glib_resources_h = gbp-debugger-resources.h
+glib_resources_xml = debugger.gresource.xml
+glib_resources_namespace = gbp_debugger
+include $(top_srcdir)/build/autotools/Makefile.am.gresources
+
+include $(top_srcdir)/plugins/Makefile.plugin
+
+endif
+
+-include $(top_srcdir)/git.mk
diff --git a/plugins/debugger/configure.ac b/plugins/debugger/configure.ac
new file mode 100644
index 0000000..fcc26cb
--- /dev/null
+++ b/plugins/debugger/configure.ac
@@ -0,0 +1,12 @@
+# --enable-debugger-plugin=yes/no
+AC_ARG_ENABLE([debugger-plugin],
+ [AS_HELP_STRING([--enable-debugger-plugin=@<:@yes/no@:>@],
+ [Build with support for the integrated debugger.])],
+ [enable_debugger_plugin=$enableval],
+ [enable_debugger_plugin=yes])
+
+# for if ENABLE_DEBUGGER_PLUGIN in Makefile.am
+AM_CONDITIONAL(ENABLE_DEBUGGER_PLUGIN, [test x$enable_debugger_plugin = xyes])
+
+# Ensure our makefile is generated by autoconf
+AC_CONFIG_FILES([plugins/debugger/Makefile])
diff --git a/plugins/debugger/debugger.gresource.xml b/plugins/debugger/debugger.gresource.xml
new file mode 100644
index 0000000..9787f0c
--- /dev/null
+++ b/plugins/debugger/debugger.gresource.xml
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<gresources>
+ <gresource prefix="/org/gnome/builder/plugins/debugger-plugin">
+ <file>gtk/menus.ui</file>
+ <file>gbp-debugger-perspective.ui</file>
+ </gresource>
+</gresources>
diff --git a/plugins/debugger/debugger.plugin b/plugins/debugger/debugger.plugin
new file mode 100644
index 0000000..2b7bac4
--- /dev/null
+++ b/plugins/debugger/debugger.plugin
@@ -0,0 +1,9 @@
+[Plugin]
+Module=debugger-plugin
+Name=Debugger
+Description=Integrates the Nemiver debugger
+Authors=Christian Hergert <christian hergert me>
+Copyright=Copyright © 2016 Christian Hergert
+Depends=editor
+Builtin=true
+Hidden=true
diff --git a/plugins/debugger/gbp-debugger-perspective.c b/plugins/debugger/gbp-debugger-perspective.c
new file mode 100644
index 0000000..4a494dd
--- /dev/null
+++ b/plugins/debugger/gbp-debugger-perspective.c
@@ -0,0 +1,126 @@
+/* gbp-debugger-perspective.c
+ *
+ * Copyright (C) 2016 Christian Hergert <chergert redhat com>
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+#define G_LOG_DOMAIN "gbp-debugger-perspective"
+
+#include <glib/gi18n.h>
+
+#include "gbp-debugger-perspective.h"
+
+struct _GbpDebuggerPerspective
+{
+ IdeLayout parent_instance;
+};
+
+enum {
+ PROP_0,
+ N_PROPS
+};
+
+static gchar *
+gbp_debugger_perspective_get_title (IdePerspective *perspective)
+{
+ return g_strdup (_("Debugger"));
+}
+
+static gchar *
+gbp_debugger_perspective_get_id (IdePerspective *perspective)
+{
+ return g_strdup ("debugger");
+}
+
+static gchar *
+gbp_debugger_perspective_get_icon_name (IdePerspective *perspective)
+{
+ return g_strdup ("nemiver-symbolic");
+}
+
+static gchar *
+gbp_debugger_perspective_get_accelerator (IdePerspective *perspective)
+{
+ return g_strdup ("<Alt>2");
+}
+
+static void
+perspective_iface_init (IdePerspectiveInterface *iface)
+{
+ iface->get_accelerator = gbp_debugger_perspective_get_accelerator;
+ iface->get_icon_name = gbp_debugger_perspective_get_icon_name;
+ iface->get_id = gbp_debugger_perspective_get_id;
+ iface->get_title = gbp_debugger_perspective_get_title;
+}
+
+G_DEFINE_TYPE_EXTENDED (GbpDebuggerPerspective, gbp_debugger_perspective, IDE_TYPE_LAYOUT, 0,
+ G_IMPLEMENT_INTERFACE (IDE_TYPE_PERSPECTIVE, perspective_iface_init))
+
+static GParamSpec *properties [N_PROPS];
+
+static void
+gbp_debugger_perspective_finalize (GObject *object)
+{
+ G_OBJECT_CLASS (gbp_debugger_perspective_parent_class)->finalize (object);
+}
+
+static void
+gbp_debugger_perspective_get_property (GObject *object,
+ guint prop_id,
+ GValue *value,
+ GParamSpec *pspec)
+{
+ GbpDebuggerPerspective *self = GBP_DEBUGGER_PERSPECTIVE (object);
+
+ switch (prop_id)
+ {
+ default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
+ }
+}
+
+static void
+gbp_debugger_perspective_set_property (GObject *object,
+ guint prop_id,
+ const GValue *value,
+ GParamSpec *pspec)
+{
+ GbpDebuggerPerspective *self = GBP_DEBUGGER_PERSPECTIVE (object);
+
+ switch (prop_id)
+ {
+ default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
+ }
+}
+
+static void
+gbp_debugger_perspective_class_init (GbpDebuggerPerspectiveClass *klass)
+{
+ GObjectClass *object_class = G_OBJECT_CLASS (klass);
+ GtkWidgetClass *widget_class = GTK_WIDGET_CLASS (klass);
+
+ object_class->finalize = gbp_debugger_perspective_finalize;
+ object_class->get_property = gbp_debugger_perspective_get_property;
+ object_class->set_property = gbp_debugger_perspective_set_property;
+
+ gtk_widget_class_set_template_from_resource (widget_class,
"/org/gnome/builder/plugins/debugger-plugin/gbp-debugger-perspective.ui");
+}
+
+static void
+gbp_debugger_perspective_init (GbpDebuggerPerspective *self)
+{
+ gtk_widget_init_template (GTK_WIDGET (self));
+}
diff --git a/plugins/debugger/gbp-debugger-perspective.h b/plugins/debugger/gbp-debugger-perspective.h
new file mode 100644
index 0000000..1abf8da
--- /dev/null
+++ b/plugins/debugger/gbp-debugger-perspective.h
@@ -0,0 +1,32 @@
+/* gbp-debugger-perspective.h
+ *
+ * Copyright (C) 2016 Christian Hergert <chergert redhat com>
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+#ifndef GBP_DEBUGGER_PERSPECTIVE_H
+#define GBP_DEBUGGER_PERSPECTIVE_H
+
+#include <ide.h>
+
+G_BEGIN_DECLS
+
+#define GBP_TYPE_DEBUGGER_PERSPECTIVE (gbp_debugger_perspective_get_type())
+
+G_DECLARE_FINAL_TYPE (GbpDebuggerPerspective, gbp_debugger_perspective, GBP, DEBUGGER_PERSPECTIVE, IdeLayout)
+
+G_END_DECLS
+
+#endif /* GBP_DEBUGGER_PERSPECTIVE_H */
diff --git a/plugins/debugger/gbp-debugger-perspective.ui b/plugins/debugger/gbp-debugger-perspective.ui
new file mode 100644
index 0000000..9f66b98
--- /dev/null
+++ b/plugins/debugger/gbp-debugger-perspective.ui
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<interface>
+ <template class="GbpDebuggerPerspective" parent="IdeLayout">
+ </template>
+</interface>
diff --git a/plugins/debugger/gbp-debugger-plugin.c b/plugins/debugger/gbp-debugger-plugin.c
new file mode 100644
index 0000000..a569ed2
--- /dev/null
+++ b/plugins/debugger/gbp-debugger-plugin.c
@@ -0,0 +1,32 @@
+/* gbp-debugger-plugin.c
+ *
+ * Copyright (C) 2016 Christian Hergert <chergert redhat com>
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+#define G_LOG_DOMAIN "gbp-debugger-plugin"
+
+#include <libpeas/peas.h>
+#include <ide.h>
+
+#include "gbp-debugger-workbench-addin.h"
+
+void
+peas_register_types (PeasObjectModule *module)
+{
+ peas_object_module_register_extension_type (module,
+ IDE_TYPE_WORKBENCH_ADDIN,
+ GBP_TYPE_DEBUGGER_WORKBENCH_ADDIN);
+}
diff --git a/plugins/debugger/gbp-debugger-workbench-addin.c b/plugins/debugger/gbp-debugger-workbench-addin.c
new file mode 100644
index 0000000..d706ada
--- /dev/null
+++ b/plugins/debugger/gbp-debugger-workbench-addin.c
@@ -0,0 +1,249 @@
+/* gbp-debugger-workbench-addin.c
+ *
+ * Copyright (C) 2016 Christian Hergert <chergert redhat com>
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+#define G_LOG_DOMAIN "gbp-debugger-workbench-addin"
+
+#include <glib/gi18n.h>
+
+#include "gbp-debugger-perspective.h"
+#include "gbp-debugger-workbench-addin.h"
+
+struct _GbpDebuggerWorkbenchAddin
+{
+ GObject parent_instance;
+
+ IdeWorkbench *workbench;
+ GbpDebuggerPerspective *perspective;
+ GSimpleActionGroup *actions;
+};
+
+static void
+debugger_run_handler (IdeRunManager *run_manager,
+ IdeRunner *runner,
+ gpointer user_data)
+{
+ GbpDebuggerWorkbenchAddin *self = user_data;
+
+ IDE_ENTRY;
+
+ g_assert (IDE_IS_RUN_MANAGER (run_manager));
+ g_assert (IDE_IS_RUNNER (runner));
+ g_assert (GBP_IS_DEBUGGER_WORKBENCH_ADDIN (self));
+
+ ide_workbench_set_visible_perspective_name (self->workbench, "debugger");
+
+#if 0
+ ide_runner_prepend_argv (runner, "--args");
+ ide_runner_prepend_argv (runner, "run");
+ ide_runner_prepend_argv (runner, "-ex");
+ ide_runner_prepend_argv (runner, "gdb");
+#endif
+
+ IDE_EXIT;
+}
+
+static void
+gbp_debugger_workbench_addin_load (IdeWorkbenchAddin *addin,
+ IdeWorkbench *workbench)
+{
+ GbpDebuggerWorkbenchAddin *self = (GbpDebuggerWorkbenchAddin *)addin;
+ IdeWorkbenchHeaderBar *headerbar;
+ IdeRunManager *run_manager;
+ IdeContext *context;
+ GtkBox *box;
+
+ g_assert (IDE_IS_WORKBENCH_ADDIN (addin));
+ g_assert (IDE_IS_WORKBENCH (workbench));
+
+ self->workbench = workbench;
+
+ gtk_widget_insert_action_group (GTK_WIDGET (workbench),
+ "debugger",
+ G_ACTION_GROUP (self->actions));
+
+ headerbar = ide_workbench_get_headerbar (workbench);
+
+ context = ide_workbench_get_context (workbench);
+
+ run_manager = ide_context_get_run_manager (context);
+ ide_run_manager_add_handler (run_manager,
+ "debugger",
+ _("Run with Debugger"),
+ "nemiver-symbolic",
+ "F5",
+ debugger_run_handler,
+ g_object_ref (self),
+ g_object_unref);
+
+ self->perspective = g_object_new (GBP_TYPE_DEBUGGER_PERSPECTIVE,
+ "visible", TRUE,
+ NULL);
+ ide_workbench_add_perspective (workbench, IDE_PERSPECTIVE (self->perspective));
+
+ box = g_object_new (GTK_TYPE_BOX,
+ "orientation", GTK_ORIENTATION_HORIZONTAL,
+ "visible", TRUE,
+ NULL);
+ ide_widget_add_style_class (GTK_WIDGET (box), "linked");
+ ide_workbench_header_bar_insert_left (headerbar, GTK_WIDGET (box), GTK_PACK_START, 100);
+
+#define ADD_BUTTON(action_name, icon_name, tooltip_text) \
+ G_STMT_START { \
+ GtkButton *button; \
+ button = g_object_new (GTK_TYPE_BUTTON, \
+ "action-name", action_name, \
+ "child", g_object_new (GTK_TYPE_IMAGE, \
+ "icon-name", icon_name, \
+ "visible", TRUE, \
+ NULL), \
+ "tooltip-text", tooltip_text, \
+ "visible", TRUE, \
+ NULL); \
+ gtk_container_add (GTK_CONTAINER (box), GTK_WIDGET (button)); \
+ } G_STMT_END
+
+ ADD_BUTTON ("debugger.continue", "debug-run", _("Continue"));
+ ADD_BUTTON ("debugger.step-in", "debug-step-in", _("Step In"));
+ ADD_BUTTON ("debugger.step-out", "debug-step-out", _("Step Out"));
+ ADD_BUTTON ("debugger.step-over", "debug-step-over", _("Step Over"));
+ ADD_BUTTON ("debugger.execute-to-cursor", "debug-execute-to-cursor", _("Execute to Cursor"));
+}
+
+static void
+gbp_debugger_workbench_addin_unload (IdeWorkbenchAddin *addin,
+ IdeWorkbench *workbench)
+{
+ GbpDebuggerWorkbenchAddin *self = (GbpDebuggerWorkbenchAddin *)addin;
+ IdeRunManager *run_manager;
+ IdeContext *context;
+
+ g_assert (IDE_IS_WORKBENCH_ADDIN (addin));
+ g_assert (IDE_IS_WORKBENCH (workbench));
+
+ context = ide_workbench_get_context (workbench);
+ run_manager = ide_context_get_run_manager (context);
+ ide_run_manager_remove_handler (run_manager, "debugger");
+
+ gtk_widget_insert_action_group (GTK_WIDGET (workbench), "debugger", NULL);
+
+ ide_workbench_remove_perspective (workbench, IDE_PERSPECTIVE (self->perspective));
+ self->perspective = NULL;
+
+ self->workbench = NULL;
+}
+
+static void
+workbench_addin_iface_init (IdeWorkbenchAddinInterface *iface)
+{
+ iface->load = gbp_debugger_workbench_addin_load;
+ iface->unload = gbp_debugger_workbench_addin_unload;
+}
+
+G_DEFINE_TYPE_EXTENDED (GbpDebuggerWorkbenchAddin, gbp_debugger_workbench_addin, G_TYPE_OBJECT, 0,
+ G_IMPLEMENT_INTERFACE (IDE_TYPE_WORKBENCH_ADDIN, workbench_addin_iface_init))
+
+static void
+gbp_debugger_workbench_addin_finalize (GObject *object)
+{
+ GbpDebuggerWorkbenchAddin *self = (GbpDebuggerWorkbenchAddin *)object;
+
+ g_clear_object (&self->actions);
+
+ G_OBJECT_CLASS (gbp_debugger_workbench_addin_parent_class)->finalize (object);
+}
+
+static void
+gbp_debugger_workbench_addin_class_init (GbpDebuggerWorkbenchAddinClass *klass)
+{
+ GObjectClass *object_class = G_OBJECT_CLASS (klass);
+
+ object_class->finalize = gbp_debugger_workbench_addin_finalize;
+}
+
+static void
+step_in_activate (GSimpleAction *action,
+ GVariant *param,
+ gpointer user_data)
+{
+ GbpDebuggerWorkbenchAddin *self = user_data;
+
+ g_assert (GBP_IS_DEBUGGER_WORKBENCH_ADDIN (self));
+
+}
+
+static void
+step_out_activate (GSimpleAction *action,
+ GVariant *param,
+ gpointer user_data)
+{
+ GbpDebuggerWorkbenchAddin *self = user_data;
+
+ g_assert (GBP_IS_DEBUGGER_WORKBENCH_ADDIN (self));
+
+}
+
+static void
+step_over_activate (GSimpleAction *action,
+ GVariant *param,
+ gpointer user_data)
+{
+ GbpDebuggerWorkbenchAddin *self = user_data;
+
+ g_assert (GBP_IS_DEBUGGER_WORKBENCH_ADDIN (self));
+
+}
+
+static void
+continue_action (GSimpleAction *action,
+ GVariant *param,
+ gpointer user_data)
+{
+ GbpDebuggerWorkbenchAddin *self = user_data;
+
+ g_assert (GBP_IS_DEBUGGER_WORKBENCH_ADDIN (self));
+
+}
+
+static void
+execute_to_cursor_action (GSimpleAction *action,
+ GVariant *param,
+ gpointer user_data)
+{
+ GbpDebuggerWorkbenchAddin *self = user_data;
+
+ g_assert (GBP_IS_DEBUGGER_WORKBENCH_ADDIN (self));
+
+}
+
+static GActionEntry action_entries[] = {
+ { "continue", continue_action },
+ { "step-in", step_in_activate },
+ { "step-out", step_out_activate },
+ { "step-over", step_over_activate },
+ { "execute-to-cursor", execute_to_cursor_action },
+};
+
+static void
+gbp_debugger_workbench_addin_init (GbpDebuggerWorkbenchAddin *self)
+{
+ self->actions = g_simple_action_group_new ();
+ g_action_map_add_action_entries (G_ACTION_MAP (self->actions),
+ action_entries,
+ G_N_ELEMENTS (action_entries),
+ self);
+}
diff --git a/plugins/debugger/gbp-debugger-workbench-addin.h b/plugins/debugger/gbp-debugger-workbench-addin.h
new file mode 100644
index 0000000..2e95623
--- /dev/null
+++ b/plugins/debugger/gbp-debugger-workbench-addin.h
@@ -0,0 +1,32 @@
+/* gbp-debugger-workbench-addin.h
+ *
+ * Copyright (C) 2016 Christian Hergert <chergert redhat com>
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+#ifndef GBP_DEBUGGER_WORKBENCH_ADDIN_H
+#define GBP_DEBUGGER_WORKBENCH_ADDIN_H
+
+#include <ide.h>
+
+G_BEGIN_DECLS
+
+#define GBP_TYPE_DEBUGGER_WORKBENCH_ADDIN (gbp_debugger_workbench_addin_get_type())
+
+G_DECLARE_FINAL_TYPE (GbpDebuggerWorkbenchAddin, gbp_debugger_workbench_addin, GBP,
DEBUGGER_WORKBENCH_ADDIN, GObject)
+
+G_END_DECLS
+
+#endif /* GBP_DEBUGGER_WORKBENCH_ADDIN_H */
diff --git a/plugins/debugger/gtk/menus.ui b/plugins/debugger/gtk/menus.ui
new file mode 100644
index 0000000..b2e03ef
--- /dev/null
+++ b/plugins/debugger/gtk/menus.ui
@@ -0,0 +1,3 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<interface>
+</interface>
diff --git a/po/POTFILES.in b/po/POTFILES.in
index bc25d34..86029e0 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -133,6 +133,10 @@ plugins/create-project/gbp-create-project-genesis-addin.c
plugins/create-project/gbp-create-project-tool.c
plugins/create-project/gbp-create-project-widget.c
plugins/create-project/gbp-create-project-widget.ui
+plugins/debugger/gbp-debugger-perspective.c
+plugins/debugger/gbp-debugger-perspective.ui
+plugins/debugger/gbp-debugger-service.c
+plugins/debugger/gbp-debugger-workbench-addin.c
plugins/devhelp/gbp-devhelp-panel.c
plugins/file-search/gb-file-search-provider.c
plugins/fpaste/fpaste_plugin/gtk/menus.ui
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]