X-Git-Url: https://git.sesse.net/?p=movit;a=blobdiff_plain;f=sandbox_effect.h;h=25c79920109cbbdbf1d0418c41566df863a037df;hp=44e8d3fdbee40464909a1f5192f21060db3868c0;hb=f216b7bef5a968c89f6fc78e83cc26a91e504a8a;hpb=a93b0c94f68bf897adfdca95b292494497fa4f7f diff --git a/sandbox_effect.h b/sandbox_effect.h index 44e8d3f..25c7992 100644 --- a/sandbox_effect.h +++ b/sandbox_effect.h @@ -1,5 +1,5 @@ -#ifndef _SANDBOX_EFFECT_H -#define _SANDBOX_EFFECT_H 1 +#ifndef _MOVIT_SANDBOX_EFFECT_H +#define _MOVIT_SANDBOX_EFFECT_H 1 // This effect, by default, does nothing. // @@ -8,11 +8,17 @@ // throwaway code. When you're happy, you can do a bit of search and replace // to give it a proper name and its own place in the build system. +#include +#include + #include "effect.h" +namespace movit { + class SandboxEffect : public Effect { public: SandboxEffect(); + virtual std::string effect_type_id() const { return "SandboxEffect"; } std::string output_fragment_shader(); void set_gl_state(GLuint glsl_program_num, const std::string &prefix, unsigned *sampler_num); @@ -21,4 +27,6 @@ private: float parm; }; -#endif // !defined(_SANDBOX_EFFECT_H) +} // namespace movit + +#endif // !defined(_MOVIT_SANDBOX_EFFECT_H)