diff --git a/src/sp-stop.h b/src/sp-stop.h
index 3203d8f7432edeb15eb9d72e9979eca719478dc7..bf6893db1262920a1dc84d8f373d30e68ef21108 100644 (file)
--- a/src/sp-stop.h
+++ b/src/sp-stop.h
*/
#include <glib/gtypes.h>
-//#include <glib-object.h>
#include "sp-object.h"
#include "color.h"
-#include "sp-stop-fns.h"
class SPObjectClass;
class SPColor;
+struct SPStop;
+struct SPStopClass;
+
+#define SP_TYPE_STOP (sp_stop_get_type())
+#define SP_STOP(o) (G_TYPE_CHECK_INSTANCE_CAST((o), SP_TYPE_STOP, SPStop))
+#define SP_STOP_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), SP_TYPE_STOP, SPStopClass))
+#define SP_IS_STOP(o) (G_TYPE_CHECK_INSTANCE_TYPE((o), SP_TYPE_STOP))
+#define SP_IS_STOP_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE((k), SP_TYPE_STOP))
+
+GType sp_stop_get_type();
+
/** Gradient stop. */
struct SPStop : public SPObject {
/// \todo fixme: Should be SPSVGPercentage
/// \todo fixme: Implement SPSVGNumber or something similar.
gfloat opacity;
+
+
+ SPStop* getNextStop();
+ SPStop* getPrevStop();
};
/// The SPStop vtable.