d5274ae49d3cef72591ea88526fedf1b2d2db83c
2 # Copyright (C) 2019 EfficiOS Inc.
4 # This program is free software; you can redistribute it and/or
5 # modify it under the terms of the GNU General Public License
6 # as published by the Free Software Foundation; only version 2
9 # This program is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY; without even the implied warranty of
11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 # GNU General Public License for more details.
14 # You should have received a copy of the GNU General Public License
15 # along with this program; if not, write to the Free Software
16 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
22 class MyIter(bt2
._UserMessageIterator
):
26 @bt2.plugin_component_class
27 class MySource(bt2
._UserSourceComponent
,
28 message_iterator_class
=MyIter
):
32 @bt2.plugin_component_class
33 class MyFilter(bt2
._UserFilterComponent
,
34 message_iterator_class
=MyIter
):
38 @bt2.plugin_component_class
39 class MySink(bt2
._UserSinkComponent
):
43 def _graph_is_configured(self
):
47 bt2
.register_plugin(__name__
, 'sparkling', author
='Philippe Proulx',
48 description
='A delicious plugin.',
49 version
=(1, 2, 3, 'EXTRA'),
This page took 0.029685 seconds and 4 git commands to generate.