-/* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 8 -*- */
-
/*
- * (GLABELS) Label and Business Card Creation program for GNOME
- *
- * text_node.h: text node module header file
+ * text-node.h
+ * Copyright (C) 2001-2009 Jim Evins <evins@snaught.com>.
*
- * Copyright (C) 2001-2002 Jim Evins <evins@snaught.com>.
+ * This file is part of gLabels.
*
- * This program is free software; you can redistribute it and/or modify
+ * gLabels 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 2 of the License, or
+ * 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,
+ * gLabels 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, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ * along with gLabels. If not, see <http://www.gnu.org/licenses/>.
*/
+
#ifndef __TEXT_NODE_H__
#define __TEXT_NODE_H__
-#include <glib/gtypes.h>
-#include <glib/glist.h>
+#include <glib.h>
#include "merge.h"
G_BEGIN_DECLS
gchar *data;
} glTextNode;
-gchar *gl_text_node_expand (glTextNode *text_node,
- glMergeRecord *record);
-glTextNode *gl_text_node_new_from_text (gchar *text);
-glTextNode *gl_text_node_dup (glTextNode *text_node);
-void gl_text_node_free (glTextNode **text_node);
+gchar *gl_text_node_expand (const glTextNode *text_node,
+ const glMergeRecord *record);
+glTextNode *gl_text_node_new_from_text (const gchar *text);
+glTextNode *gl_text_node_dup (const glTextNode *text_node);
+void gl_text_node_free (glTextNode **text_node);
-gboolean gl_text_node_equal (glTextNode *text_node1,
- glTextNode *text_node2);
+gboolean gl_text_node_equal (const glTextNode *text_node1,
+ const glTextNode *text_node2);
-gchar *gl_text_node_lines_expand (GList *lines,
- glMergeRecord *record);
-GList *gl_text_node_lines_new_from_text (gchar *text);
-GList *gl_text_node_lines_dup (GList *lines);
-void gl_text_node_lines_free (GList **lines);
+gchar *gl_text_node_lines_expand (GList *lines,
+ const glMergeRecord *record);
+GList *gl_text_node_lines_new_from_text (const gchar *text);
+GList *gl_text_node_lines_dup (GList *lines);
+void gl_text_node_lines_free (GList **lines);
/* debug function */
-void gl_text_node_lines_print (GList *lines);
+void gl_text_node_lines_print (GList *lines);
G_END_DECLS
#endif
+
+
+
+/*
+ * Local Variables: -- emacs
+ * mode: C -- emacs
+ * c-basic-offset: 8 -- emacs
+ * tab-width: 8 -- emacs
+ * indent-tabs-mode: nil -- emacs
+ * End: -- emacs
+ */