You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tdeaddons/noatun-plugins/nexscope/renderers.h

35 lines
422 B

#ifndef RENDERERS_H
#define RENDERERS_H
#include <tqstring.h>
class Renderer;
namespace Creators
{
#ifdef RENDERERS_CPP
#define REGISTER(function, cl) \
Renderer *function() \
{ \
return new cl; \
}
#else
#define REGISTER(function, cl) \
Renderer *function();
#endif
REGISTER(fade, Fade)
REGISTER(doubler, Doubler)
REGISTER(waveform,TQt::HorizontalPair);
REGISTER(hartley, Hartley);
#undef REGISTER
};
#endif