Exemplo n.º 1
0
 /// <summary>
 /// Constructor initializes the OperationObject and starts the loader thread
 /// </summary>
 /// <param name="outputDir">the location of the playlists, so that the loader can get songs from the playlist xml files</param>
 public CustomMusicLoader(String outputDir)
 {
     loaderThread = new Thread(new ThreadStart(this.ThreadActivity));
     opObject     = new OperationObject(QueueOp.NO_OP, null, null);
     this.store   = new QueueStore(outputDir, this);
     loaderThread.Start();
 }
Exemplo n.º 2
0
 /// <summary>
 /// The loader destroys the store
 /// </summary>
 private void _destroyStore()
 {
     store = null;
 }