4 class MyIter(bt2
._UserNotificationIterator
):
8 @bt2.plugin_component_class
9 class MySource(bt2
._UserSourceComponent
,
10 notification_iterator_class
=MyIter
):
14 @bt2.plugin_component_class
15 class MyFilter(bt2
._UserFilterComponent
,
16 notification_iterator_class
=MyIter
):
20 @bt2.plugin_component_class
21 class MySink(bt2
._UserSinkComponent
):
26 bt2
.register_plugin(__name__
, 'sparkling', author
='Philippe Proulx',
27 description
='A delicious plugin.',
28 version
=(1, 2, 3, 'EXTRA'),