17 Feb
2012
17 Feb
'12
1:52 a.m.
Hi Dan
Thoughts? Comments?
I like it.
I think we must comment the magic of this decoration so people in future have a trace of the effect of "@directory.register" in chirp.
Eg. we can add in front of the register definition
# Any driver claiming to implement a radio driver can decorate that # class with @directory.register and have it automatically included in # the directory. # Thus, simply placing mydriver.py in the chirp module folder will # cause it to be included.
and near the @directory.register in each driver
# this will automatically include our driver in the directory # see register definition in directory.py
73 de IZ3GME Marco