[gnome-builder/wip/libide: 76/153] libide: add clang service to extension points
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder/wip/libide: 76/153] libide: add clang service to extension points
- Date: Fri, 13 Feb 2015 20:06:34 +0000 (UTC)
commit a87890edf70fe9932317909910ecefdf89e077a0
Author: Christian Hergert <christian hergert me>
Date: Wed Feb 11 13:52:06 2015 -0800
libide: add clang service to extension points
libide/ide.c | 15 +++++++++++----
1 files changed, 11 insertions(+), 4 deletions(-)
---
diff --git a/libide/ide.c b/libide/ide.c
index acccf90..f4bdded 100644
--- a/libide/ide.c
+++ b/libide/ide.c
@@ -21,10 +21,12 @@
#include "gconstructor.h"
#include "ide.h"
-#include "autotools/ide-autotools-build-system.h"
-#include "directory/ide-directory-build-system.h"
-#include "directory/ide-directory-vcs.h"
-#include "git/ide-git-vcs.h"
+
+#include "ide-autotools-build-system.h"
+#include "ide-clang-service.h"
+#include "ide-directory-build-system.h"
+#include "ide-directory-vcs.h"
+#include "ide-git-vcs.h"
static gboolean gProgramNameRead;
static const gchar *gProgramName = "libide";
@@ -69,6 +71,11 @@ ide_init_ctor (void)
IDE_BUILD_SYSTEM_EXTENSION_POINT".directory",
-200);
+ g_io_extension_point_implement (IDE_SERVICE_EXTENSION_POINT,
+ IDE_TYPE_CLANG_SERVICE,
+ IDE_SERVICE_EXTENSION_POINT".clang",
+ 0);
+
g_io_extension_point_implement (IDE_VCS_EXTENSION_POINT,
IDE_TYPE_GIT_VCS,
IDE_VCS_EXTENSION_POINT".git",
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]