Code

gcc warning cleanup
[inkscape.git] / src / dialogs / rdf.h
index f4eec5a0c684bd2e0f3ac6e8700a24d2e90cfc5c..a98f5a1e474b43354585e2824fd81cae46df07fd 100644 (file)
@@ -1,20 +1,16 @@
-/**
- *
- * \brief headers for RDF types
- * 
- * Authors:
+/** @file
+ * @brief headers for RDF types
+ */
+/* Authors:
  *  Kees Cook <kees@outflux.net>
  *
- * Copyright (C) 2004 Kees Cook <kees@outflux.net>
- * 
+ * Copyright (C) 2004 Authors
  * Released under GNU GPL, read the file 'COPYING' for more information
- * 
  */
 #ifndef _RDF_H_
 #define _RDF_H_
 
 #include <glib.h>
-
 #include <glibmm/i18n.h>
 #include "document.h"
 
  * \brief Holds license name/resource doubles for rdf_license_t entries
  */
 struct rdf_double_t {
-    gchar *name;
-    gchar *resource;
+    gchar const *name;
+    gchar const *resource;
 };
 
 /**
  * \brief Holds license name and RDF information
  */
 struct rdf_license_t {
-    gchar *name;        /* localized name of this license */
-    gchar *uri;         /* URL for the RDF/Work/license element */
+    gchar const *name;        /* localized name of this license */
+    gchar const *uri;         /* URL for the RDF/Work/license element */
     struct rdf_double_t *details; /* the license details */
-//    gchar *fragment;    /* XML contents for the RDF/License tag */
+//    gchar const *fragment;    /* XML contents for the RDF/License tag */
 };
 
 extern rdf_license_t rdf_licenses [];
@@ -69,11 +65,11 @@ enum RDF_Editable {
  * \brief Holds known RDF/Work tags
  */
 struct rdf_work_entity_t {
-    char   *name;       /* unique name of this entity for internal reference */
-    gchar  *title;      /* localized title of this entity for data entry */
-    gchar  *tag;        /* namespace tag for the RDF/Work element */
+    char const *name;       /* unique name of this entity for internal reference */
+    gchar const *title;      /* localized title of this entity for data entry */
+    gchar const *tag;        /* namespace tag for the RDF/Work element */
     RDFType datatype;   /* how to extract/inject the RDF information */
-    gchar  *tip;        /* tool tip to explain the meaning of the entity */
+    gchar const *tip;        /* tool tip to explain the meaning of the entity */
     RDF_Format format;  /* in what format is this data edited? */
     RDF_Editable editable;/* in what way is the data editable? */
 };
@@ -121,4 +117,4 @@ void rdf_set_defaults ( SPDocument * doc );
   fill-column:99
   End:
 */
-// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4 :
+// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 :