[gxml] Added missed files for Comment and Text interfaces



commit 0f1cf8a88ca806a1061fa132adeef3b7824fab66
Author: Daniel Espinosa <esodan gmail com>
Date:   Tue May 12 10:32:03 2015 -0500

    Added missed files for Comment and Text interfaces
    
    * Thanks to Yannick Inizan

 gxml/Comment.vala |   34 ++++++++++++++++++++++++++++++++++
 gxml/Text.vala    |   33 +++++++++++++++++++++++++++++++++
 2 files changed, 67 insertions(+), 0 deletions(-)
---
diff --git a/gxml/Comment.vala b/gxml/Comment.vala
new file mode 100644
index 0000000..90b2dd9
--- /dev/null
+++ b/gxml/Comment.vala
@@ -0,0 +1,34 @@
+/* -*- Mode: vala; indent-tabs-mode: nil; c-basic-offset: 0; tab-width: 2 -*- */
+/* ObjectModel.vala
+ *
+ * Copyright (C) 2015  Daniel Espinosa <esodan gmail com>
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library 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
+ * Lesser General Public License for more details.
+
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, see <http://www.gnu.org/licenses/>.
+ *
+ * Authors:
+ *      Daniel Espinosa <esodan gmail com>
+ */
+
+using Gee;
+/**
+ * Representation of comments nodes in any { link GXml.Node}
+ */
+public interface GXml.Comment : Object, GXml.Node
+{
+  /**
+   * This should be implemented by returning { link GXml.Node.value}
+   */
+  public abstract string str { get; }
+}
+
diff --git a/gxml/Text.vala b/gxml/Text.vala
new file mode 100644
index 0000000..385795e
--- /dev/null
+++ b/gxml/Text.vala
@@ -0,0 +1,33 @@
+/* -*- Mode: vala; indent-tabs-mode: nil; c-basic-offset: 0; tab-width: 2 -*- */
+/* ObjectModel.vala
+ *
+ * Copyright (C) 2015  Daniel Espinosa <esodan gmail com>
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library 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
+ * Lesser General Public License for more details.
+
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, see <http://www.gnu.org/licenses/>.
+ *
+ * Authors:
+ *      Daniel Espinosa <esodan gmail com>
+ */
+
+using Gee;
+/**
+ * Representation of text nodes in any { link GXml.Node}
+ */
+public interface GXml.Text : Object, GXml.Node
+{
+  /**
+   * This should be implemented by returning { link GXml.Node.value}
+   */
+  public abstract string str { get; }
+}


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