コード例 #1
0
 /// <summary>
 /// Register to receive EPG related events.
 /// </summary>
 /// <param name="eventListener">The event listener.</param>
 public override void RegisterEpgEventListener(IEpgEvents eventListener)
 {
   _timeshiftingEPGGrabber = new TimeShiftingEPGGrabber(eventListener, this);
 }
コード例 #2
0
ファイル: TvCardDvbBase.cs プロジェクト: nio22/MediaPortal-1
 /// <summary>
 /// Initializes a new instance of the <see cref="TvCardDvbBase"/> class.
 /// </summary>
 public TvCardDvbBase(IEpgEvents epgEvents, DsDevice device)
   : base(device)
 {
   matchDevicePath = true;
   _lastSignalUpdate = DateTime.MinValue;
   _mapSubChannels = new Dictionary<int, BaseSubChannel>();
   _parameters = new ScanParameters();
   _timeshiftingEPGGrabber = new TimeShiftingEPGGrabber(epgEvents, (ITVCard)this);
   _minChannel = -1;
   _maxChannel = -1;
   _supportsSubChannels = true;
   Guid networkProviderClsId = new Guid("{D7D42E5C-EB36-4aad-933B-B4C419429C98}");
   useInternalNetworkProvider = FilterGraphTools.IsThisComObjectInstalled(networkProviderClsId);
 }