summaryrefslogtreecommitdiffstats
path: root/noatun-plugins/nexscope/renderers.h
blob: e23304a15d3a91f097b4226bc9faec6b56b5b1e4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#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,Qt::HorizontalPair);
REGISTER(hartley, Hartley);

#undef REGISTER
};


#endif