View Single Post
Old 08-11-2011, 05:50 PM   #4
yo123
Junior Member
yo123 began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Aug 2011
Device: Kindle 3
Quote:
Originally Posted by user_none View Post
I can't remember how the PDB components are designed off the top of my head. I will explain how to add a new writer and reader later today.
Thanks. Here is what I think I need to change in the inheriting class.

class PDBOutput(OutputFormatPlugin):

name = 'PDB Output'
author = 'John Schember'
file_type = 'pdb'

options = set([
OptionRecommendation(name='format', recommended_value='doc',
level=OptionRecommendation.LOW,
short_switch='f', choices=FORMAT_WRITERS.keys(),
help=(_('Format to use inside the pdb container. Choices are:')+\
' %s' % FORMAT_WRITERS.keys())),
yo123 is offline   Reply With Quote