summaryrefslogtreecommitdiffstats
path: root/src/filters
diff options
context:
space:
mode:
authorAlex Valavanis <valavanisalex@gmail.com>2013-03-14 23:24:17 +0000
committerAlex Valavanis <valavanisalex@gmail.com>2013-03-14 23:24:17 +0000
commit4c75974f2ac6bfe751e583fca37ffdd8b14ea84d (patch)
tree22ce7ae0082ea2387a2349b9248b59d87953d32a /src/filters
parentFix another tonne of forward declaration tags (diff)
downloadinkscape-4c75974f2ac6bfe751e583fca37ffdd8b14ea84d.tar.gz
inkscape-4c75974f2ac6bfe751e583fca37ffdd8b14ea84d.zip
Fix another load of forward declaration tags
(bzr r12205)
Diffstat (limited to 'src/filters')
-rw-r--r--src/filters/blend.h2
-rw-r--r--src/filters/composite.h2
-rw-r--r--src/filters/diffuselighting.h2
-rw-r--r--src/filters/displacementmap.h2
-rw-r--r--src/filters/gaussian-blur.h4
-rw-r--r--src/filters/specularlighting.h2
6 files changed, 3 insertions, 11 deletions
diff --git a/src/filters/blend.h b/src/filters/blend.h
index e7fc410e7..5d65c92fc 100644
--- a/src/filters/blend.h
+++ b/src/filters/blend.h
@@ -22,8 +22,6 @@
#define SP_IS_FEBLEND(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), SP_TYPE_FEBLEND))
#define SP_IS_FEBLEND_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), SP_TYPE_FEBLEND))
-class SPFeBlendClass;
-
struct SPFeBlend : public SPFilterPrimitive {
Inkscape::Filters::FilterBlendMode blend_mode;
int in2;
diff --git a/src/filters/composite.h b/src/filters/composite.h
index 3eb62716f..4f2d1ff69 100644
--- a/src/filters/composite.h
+++ b/src/filters/composite.h
@@ -32,8 +32,6 @@ enum FeCompositeOperator {
COMPOSITE_ENDOPERATOR
};
-class SPFeCompositeClass;
-
struct SPFeComposite : public SPFilterPrimitive {
FeCompositeOperator composite_operator;
double k1, k2, k3, k4;
diff --git a/src/filters/diffuselighting.h b/src/filters/diffuselighting.h
index 99dccb394..2be58d864 100644
--- a/src/filters/diffuselighting.h
+++ b/src/filters/diffuselighting.h
@@ -21,7 +21,7 @@
#define SP_IS_FEDIFFUSELIGHTING(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), SP_TYPE_FEDIFFUSELIGHTING))
#define SP_IS_FEDIFFUSELIGHTING_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), SP_TYPE_FEDIFFUSELIGHTING))
-class SVGICCColor;
+struct SVGICCColor;
namespace Inkscape {
namespace Filters {
diff --git a/src/filters/displacementmap.h b/src/filters/displacementmap.h
index 6232f0937..93dc86d27 100644
--- a/src/filters/displacementmap.h
+++ b/src/filters/displacementmap.h
@@ -28,8 +28,6 @@ enum FilterDisplacementMapChannelSelector {
DISPLACEMENTMAP_CHANNEL_ENDTYPE
};
-class SPFeDisplacementMapClass;
-
struct SPFeDisplacementMap : public SPFilterPrimitive {
int in2;
double scale;
diff --git a/src/filters/gaussian-blur.h b/src/filters/gaussian-blur.h
index 417f8a6f4..8929627ba 100644
--- a/src/filters/gaussian-blur.h
+++ b/src/filters/gaussian-blur.h
@@ -21,14 +21,12 @@
#define SP_IS_GAUSSIANBLUR(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), SP_TYPE_GAUSSIANBLUR))
#define SP_IS_GAUSSIANBLUR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), SP_TYPE_GAUSSIANBLUR))
-/* GaussianBlur base class */
-class SPGaussianBlurClass;
-
struct SPGaussianBlur : public SPFilterPrimitive {
/** stdDeviation attribute */
NumberOptNumber stdDeviation;
};
+/* GaussianBlur base class */
struct SPGaussianBlurClass {
SPFilterPrimitiveClass parent_class;
};
diff --git a/src/filters/specularlighting.h b/src/filters/specularlighting.h
index 44bd98c6c..5cfbcb07c 100644
--- a/src/filters/specularlighting.h
+++ b/src/filters/specularlighting.h
@@ -23,7 +23,7 @@
#define SP_IS_FESPECULARLIGHTING(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), SP_TYPE_FESPECULARLIGHTING))
#define SP_IS_FESPECULARLIGHTING_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), SP_TYPE_FESPECULARLIGHTING))
-class SVGICCColor;
+struct SVGICCColor;
namespace Inkscape {
namespace Filters {