[gnome-builder/wip/libide: 90/237] 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: 90/237] libide: add clang service to extension points
- Date: Tue, 17 Feb 2015 21:36:59 +0000 (UTC)
commit 45f82c04593af10e06c58979845d9e6bf3372cd7
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]