[anjuta] libanjuta: Add a project object node type



commit 810b880aa7e1fd1b1940e8043fd4c30355fe98ec
Author: Sébastien Granjoux <seb sfo free fr>
Date:   Sat Jun 4 11:16:36 2011 +0200

    libanjuta: Add a project object node type

 libanjuta/anjuta-project.c |    1 +
 libanjuta/anjuta-project.h |    3 ++-
 2 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/libanjuta/anjuta-project.c b/libanjuta/anjuta-project.c
index 7b08b4d..5caeac3 100644
--- a/libanjuta/anjuta-project.c
+++ b/libanjuta/anjuta-project.c
@@ -610,6 +610,7 @@ anjuta_project_node_get_file (const AnjutaProjectNode *node)
 {
 	switch (node->type & ANJUTA_PROJECT_TYPE_MASK)
 	{
+	case ANJUTA_PROJECT_OBJECT:	
 	case ANJUTA_PROJECT_TARGET:
 		if ((node->name) && (node->parent != NULL) && (node->parent->file != NULL))
 		{
diff --git a/libanjuta/anjuta-project.h b/libanjuta/anjuta-project.h
index 75d9831..f95f757 100644
--- a/libanjuta/anjuta-project.h
+++ b/libanjuta/anjuta-project.h
@@ -107,7 +107,8 @@ typedef enum
 	ANJUTA_PROJECT_SOURCE = 4 << 24,
 	ANJUTA_PROJECT_MODULE = 5 << 24,
 	ANJUTA_PROJECT_PACKAGE = 6 << 24,
-	ANJUTA_PROJECT_VARIABLE = 7 << 24
+	ANJUTA_PROJECT_VARIABLE = 7 << 24,
+	ANJUTA_PROJECT_OBJECT = 8 << 24,
 } AnjutaProjectNodeType;
 
 typedef enum



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]