예제 #1
0
        private MP3PartInstaller GetNext3PartPackage()
        {
            // CHANGE HERE TO GET MORE 3 PARTY SOFTWARE IN THE LIST
            // TODO: Should this be in a config file maybe?!
            MP3PartInstaller mp3PartInstaller = null;

            switch (currentPackageIndex)
            {
            case 0:
                mp3PartInstaller = new MP3PartXMLTV();
                mp3PartInstaller.Init(this.mpTargetDir);
                mp3PartInstaller.ButtonAction_Changed += new MP3PartInstaller.ButtonActionHandler(ButtonAction_Changed);
                break;

            case 1:
                mp3PartInstaller = new MP3PartFFDShow();
                mp3PartInstaller.Init(this.mpTargetDir);
                mp3PartInstaller.ButtonAction_Changed += new MP3PartInstaller.ButtonActionHandler(ButtonAction_Changed);
                break;

/* not to be included at this moment.
 *                              case 2:
 *                                      mp3PartInstaller = new MP3PartVobSub();
 *                                      mp3PartInstaller.Init(this.mpTargetDir);
 *                                      mp3PartInstaller.ButtonAction_Changed += new MP3PartInstaller.ButtonActionHandler(ButtonAction_Changed);
 *                                      break;
 */
            }

            return(mp3PartInstaller);
        }
예제 #2
0
    private MP3PartInstaller GetNext3PartPackage()
    {
      // CHANGE HERE TO GET MORE 3 PARTY SOFTWARE IN THE LIST
      // TODO: Should this be in a config file maybe?!
      MP3PartInstaller mp3PartInstaller = null;
      switch (currentPackageIndex)
      {
        case 0:
          mp3PartInstaller = new MP3PartXMLTV();
          mp3PartInstaller.Init(this.mpTargetDir);
          mp3PartInstaller.ButtonAction_Changed += new MP3PartInstaller.ButtonActionHandler(ButtonAction_Changed);
          break;
        case 1:
          mp3PartInstaller = new MP3PartFFDShow();
          mp3PartInstaller.Init(this.mpTargetDir);
          mp3PartInstaller.ButtonAction_Changed += new MP3PartInstaller.ButtonActionHandler(ButtonAction_Changed);
          break;
/* not to be included at this moment.
				case 2:
					mp3PartInstaller = new MP3PartVobSub();
					mp3PartInstaller.Init(this.mpTargetDir);
					mp3PartInstaller.ButtonAction_Changed += new MP3PartInstaller.ButtonActionHandler(ButtonAction_Changed);
					break;
*/
      }

      return mp3PartInstaller;
    }