1 #!/usr/bin/env python
\r
6 ConfigObj plugin class for Hooke.
\r
8 Copyright 2010 by Dr. Rolf Schmidt (Concordia University, Canada)
\r
10 This program is released under the GNU General Public License version 2.
\r
13 class Plugin(object):
\r
15 Plugin is a class that is used to facilitate accessing
\r
16 configuration parameters in a ConfigObj from different plugins.
\r
21 #if the calling plugin uses a prefix, this can be added to the name
\r
22 #e.g. autopeak.ini: [[peak_color]]
\r
23 #flatfilts.ini [[color]]
\r
24 #are both used to set the color of the peak plot (scatter plot)
\r
25 #in order to access 'peak_color' rather than 'color', the prefix needs to
\r
27 #if the names are identical, set prefix to ''
\r