Switched the python classes to inherit from the base and gui classes.
[debian/gnuradio] / grc / python / Platform.py
index cab25d348fd3d29665095c77bc3ba2eb33f8f729..bb56d361b5296406c9186086b05f4f6c39a32837 100644 (file)
@@ -20,6 +20,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA
 import os
 from gnuradio import gr
 from .. base.Platform import Platform as _Platform
+from .. gui.Platform import Platform as _GUIPlatform
 from FlowGraph import FlowGraph as _FlowGraph
 from Connection import Connection as _Connection
 from Block import Block as _Block
@@ -46,7 +47,7 @@ COLORS = (#title, #color spec
        ('Message', Constants.MSG_COLOR_SPEC),
 )
 
-class Platform(_Platform):
+class Platform(_Platform, _GUIPlatform):
 
        def __init__(self):
                """
@@ -70,6 +71,7 @@ class Platform(_Platform):
                        generator=Generator,
                        colors=COLORS,
                )
+               _GUIPlatform.__init__(self)
 
        ##############################################
        # Constructors