]> git.sesse.net Git - movit/blobdiff - mix_effect.h
Prefix include guards with _MOVIT to avoid clashes with external files.
[movit] / mix_effect.h
index 967c06b2ba59ac47b9ed21b7f1692f90bfdde854..fda06a6f9426426e9794637348c19f907a5894d5 100644 (file)
@@ -1,9 +1,11 @@
-#ifndef _MIX_EFFECT_H
-#define _MIX_EFFECT_H 1
+#ifndef _MOVIT_MIX_EFFECT_H
+#define _MOVIT_MIX_EFFECT_H 1
 
 // Combine two images: a*x + b*y. If you set a within [0,1] and b=1-a,
 // you will get a fade; if not, you may get surprising results (consider alpha).
 
+#include <string>
+
 #include "effect.h"
 
 class MixEffect : public Effect {
@@ -23,4 +25,4 @@ private:
        float strength_first, strength_second;
 };
 
-#endif // !defined(_MIX_EFFECT_H)
+#endif // !defined(_MOVIT_MIX_EFFECT_H)