Code

Fix change in revision 9947 to be consistent with rest of the codebase.
[inkscape.git] / src / sp-glyph-kerning.h
index 9e8395d3b96e6e90072a653e72907e547a361a06..ce9b4bb15e9638df58bb8d3911af66392ab80df8 100644 (file)
@@ -1,4 +1,7 @@
-#include "config.h"
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
 #ifdef ENABLE_SVG_FONTS
 #ifndef __SP_GLYPH_KERNING_H__
 #define __SP_GLYPH_KERNING_H__
@@ -7,7 +10,7 @@
  * SVG <hkern> and <vkern> elements implementation
  *
  * Authors:
- *    Felipe C. da S. Sanches <felipe.sanches@gmail.com>
+ *    Felipe C. da S. Sanches <juca@members.fsf.org>
  *
  * Copyright (C) 2008 Felipe C. da S. Sanches
  *
 #define SP_IS_VKERN(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), SP_TYPE_VKERN))
 #define SP_IS_VKERN_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), SP_TYPE_VKERN))
 
+class GlyphNames{
+public: 
+GlyphNames(const gchar* value);
+~GlyphNames();
+bool contains(const char* name);
+private:
+gchar* names;
+};
+
 struct SPGlyphKerning : public SPObject {
     UnicodeRange* u1;
-    char* g1;
+    GlyphNames* g1;
     UnicodeRange* u2;
-    char* g2;
+    GlyphNames* g2;
     double k;
 };