File: code.h

package info (click to toggle)
xacobeo 0.13-1
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 1,804 kB
  • ctags: 745
  • sloc: xml: 33,885; perl: 2,353; ansic: 1,128; makefile: 127
file content (31 lines) | stat: -rw-r--r-- 716 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#ifndef __XACOBEO_CODE_H__
#define __XACOBEO_CODE_H__


#include "EXTERN.h"
#include "perl.h"
#include "XSUB.h"

#include <gtk/gtk.h>
#include <libxml/tree.h>


// The columns in the DOM Tree View
enum DomModelColumns {
	DOM_COL_XML_POINTER,
	DOM_COL_ICON,
	DOM_COL_ELEMENT_NAME,
	DOM_COL_ID_NAME,
	DOM_COL_ID_VALUE,
};
typedef enum DomModelColumns DomModelColumnsEnum;


// Public prototypes
void xacobeo_populate_gtk_text_buffer (GtkTextBuffer *buffer, xmlNode *node, HV *namespaces);
void xacobeo_populate_gtk_tree_store  (GtkTreeStore *store,   xmlNode *node, HV *namespaces);
gchar* xacobeo_get_node_path          (xmlNode *node, HV *namespaces);
gchar* xacobeo_get_node_mark          (xmlNode *node);


#endif