1 #ifndef __NR_FILTER_SKELETON_H__
2 #define __NR_FILTER_SKELETON_H__
4 /*
5 * Filter primitive renderer skeleton class
6 * You can create your new filter primitive renderer by replacing
7 * all occurences of Skeleton, skeleton and SKELETON with your filter
8 * type, like gaussian or blend in respective case.
9 *
10 * This can be accomplished with the following sed command:
11 * sed -e "s/Skeleton/Name/g" -e "s/skeleton/name/" -e "s/SKELETON/NAME/"
12 * nr-filter-skeleton.h >nr-filter-name.h
13 *
14 * (on one line, replace occurences of 'name' with your filter name)
15 *
16 * Remember to convert the .cpp file too. The sed command is same for both
17 * files.
18 *
19 * Authors:
20 * Niko Kiirala <niko@kiirala.com>
21 *
22 * Copyright (C) 2007 authors
23 *
24 * Released under GNU GPL, read the file 'COPYING' for more information
25 */
27 #include "display/nr-filter-primitive.h"
28 #include "display/nr-filter-slot.h"
29 #include "display/nr-filter-units.h"
30 #include "libnr/nr-matrix.h"
32 namespace NR {
34 class FilterSkeleton : public FilterPrimitive {
35 public:
36 FilterSkeleton();
37 static FilterPrimitive *create();
38 virtual ~FilterSkeleton();
40 virtual int render(FilterSlot &slot, FilterUnits const &units);
42 private:
44 };
46 } /* namespace NR */
48 #endif /* __NR_FILTER_SKELETON_H__ */
49 /*
50 Local Variables:
51 mode:c++
52 c-file-style:"stroustrup"
53 c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
54 indent-tabs-mode:nil
55 fill-column:99
56 End:
57 */
58 // vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 :