mirror of
https://github.com/DSheirer/sdrtrunk.git
synced 2026-11-13 17:17:29 -05:00
Work in progress - program compiles and runs
This commit is contained in:
@@ -11,15 +11,18 @@ import javax.swing.JInternalFrame;
|
||||
import module.decode.DecodeComponentEditor;
|
||||
import module.decode.config.DecodeConfiguration;
|
||||
import net.miginfocom.swing.MigLayout;
|
||||
import playlist.PlaylistManager;
|
||||
import source.IControllableFileSource;
|
||||
import controller.ResourceManager;
|
||||
import controller.ThreadPoolManager;
|
||||
import controller.channel.ChannelModel;
|
||||
|
||||
public class DecoderSelectionFrame extends JInternalFrame
|
||||
{
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
private DecodeComponentEditor mDecodeEditor = new DecodeComponentEditor( null );
|
||||
private ResourceManager mResourceManager = new ResourceManager();
|
||||
private ResourceManager mResourceManager;
|
||||
|
||||
private IControllableFileSource mSource;
|
||||
private JDesktopPane mDesktop;
|
||||
@@ -27,6 +30,11 @@ public class DecoderSelectionFrame extends JInternalFrame
|
||||
public DecoderSelectionFrame( JDesktopPane desktop,
|
||||
IControllableFileSource source )
|
||||
{
|
||||
ChannelModel channelModel = new ChannelModel();
|
||||
|
||||
mResourceManager = new ResourceManager( new PlaylistManager( channelModel ),
|
||||
new ThreadPoolManager(), channelModel );
|
||||
|
||||
mDesktop = desktop;
|
||||
mSource = source;
|
||||
|
||||
|
||||
@@ -108,8 +108,8 @@ public class DecoderViewFrame extends JInternalFrame
|
||||
recordConfig,
|
||||
auxConfig,
|
||||
aliasList,
|
||||
new System( "Instrumented" ),
|
||||
new Site( "Instrumented" ),
|
||||
"Instrumented",
|
||||
"Instrumented",
|
||||
"Channel Name" );
|
||||
|
||||
mProcessingChain.addModules( modules );
|
||||
|
||||
Reference in New Issue
Block a user