mirror of
https://github.com/DSheirer/sdrtrunk.git
synced 2026-11-12 08:37:25 -05:00
Work in progress.
-Started work on new channel editor channel viewer/controller -Removed a number of unused buffer package classes -Moved automatic frequency control to be a module and removed special handling -Added IUnfilteredRealBufferListener & Provider interfaces -Completely removed the ResourceManager class
This commit is contained in:
@@ -13,8 +13,6 @@ 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
|
||||
@@ -22,7 +20,7 @@ public class DecoderSelectionFrame extends JInternalFrame
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
private DecodeComponentEditor mDecodeEditor = new DecodeComponentEditor( null );
|
||||
private ResourceManager mResourceManager;
|
||||
private PlaylistManager mPlaylistManager;
|
||||
|
||||
private IControllableFileSource mSource;
|
||||
private JDesktopPane mDesktop;
|
||||
@@ -31,9 +29,7 @@ public class DecoderSelectionFrame extends JInternalFrame
|
||||
IControllableFileSource source )
|
||||
{
|
||||
ChannelModel channelModel = new ChannelModel();
|
||||
|
||||
mResourceManager = new ResourceManager( new PlaylistManager( channelModel ),
|
||||
new ThreadPoolManager(), channelModel );
|
||||
mPlaylistManager = new PlaylistManager( channelModel );
|
||||
|
||||
mDesktop = desktop;
|
||||
mSource = source;
|
||||
@@ -78,12 +74,7 @@ public class DecoderSelectionFrame extends JInternalFrame
|
||||
if( config != null )
|
||||
{
|
||||
DecoderViewFrame decoderFrame = new DecoderViewFrame(
|
||||
mResourceManager,
|
||||
config,
|
||||
null,
|
||||
null,
|
||||
null,
|
||||
mSource );
|
||||
mPlaylistManager, null, mSource );
|
||||
|
||||
decoderFrame.setVisible( true );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user