MythTV  master
videosource.h
Go to the documentation of this file.
1 #ifndef VIDEOSOURCE_H
2 #define VIDEOSOURCE_H
3 
4 #include <vector>
5 using namespace std;
6 
7 #include "mthread.h"
8 #include "standardsettings.h"
9 #include "datadirect.h"
10 #include "mythcontext.h"
11 
12 class SignalTimeout;
13 class ChannelTimeout;
14 class UseEIT;
15 class VideoSource;
16 class CaptureCard;
17 class VBIDevice;
18 class CardInput;
19 class CardID;
20 class InputName;
21 class SourceID;
22 class DeviceTree;
23 class DiSEqCDevTree;
24 class DiSEqCDevSettings;
25 class InputGroup;
26 
27 static inline bool is_grabber_external(const QString &grabber)
28 {
29  return !(grabber == "datadirect" ||
30  grabber == "eitonly" ||
31  grabber == "schedulesdirect1" ||
32  grabber == "/bin/true");
33 }
34 
35 static inline bool is_grabber_datadirect(const QString &grabber)
36 {
37  return (grabber == "datadirect") || (grabber == "schedulesdirect1");
38 }
39 
40 static inline int get_datadirect_provider(const QString &grabber)
41 {
42  if (grabber == "datadirect")
43  return DD_ZAP2IT;
44  else if (grabber == "schedulesdirect1")
45  return DD_SCHEDULES_DIRECT;
46  else
47  return -1;
48 }
49 
50 static inline bool is_grabber_labs(const QString &grabber)
51 {
52  return grabber == "datadirect";
53 }
54 
56 {
57  public:
59  const VideoSource &_parent,
60  const QString &name) :
61  SimpleDBStorage(_user, "videosource", name), m_parent(_parent)
62  {
63  }
64 
65  protected:
66  virtual QString GetSetClause(MSqlBindings &bindings) const;
67  virtual QString GetWhereClause(MSqlBindings &bindings) const;
68 
70 };
71 
73 {
74  Q_OBJECT
75 
76  public:
77  VideoSourceSelector(uint _initial_sourceid,
78  const QString &_card_types,
79  bool _must_have_mplexid);
80 
81  virtual void Load(void);
82 
83  uint GetSourceID(void) const { return getValue().toUInt(); }
84 
85  private:
87  QString card_types;
89 };
90 
93 {
94  Q_OBJECT
95 public:
96  explicit FreqTableSelector(const VideoSource& parent);
97 protected:
98  QString freq;
99 };
100 
102 {
103  public:
104  explicit TransFreqTableSelector(uint _sourceid);
105 
106  virtual void Load(void);
107 
108  virtual void Save(void);
109  virtual void Save(QString /*destination*/) { Save(); }
110 
111  void SetSourceID(uint _sourceid);
112 
113  private:
116 };
117 
119  public MythUIComboBoxSetting
120 {
121  Q_OBJECT
122 public:
123  explicit DataDirectLineupSelector(const VideoSource& parent) :
124  MythUIComboBoxSetting(new VideoSourceDBStorage(this, parent, "lineupid"))
125  {
126  setLabel(QObject::tr("Data Direct lineup"));
127  };
128 
129  public slots:
130  void fillSelections(const QString& uid, const QString& pwd, int source);
131 };
132 
134 {
135  public:
136  DataDirectButton() : ButtonStandardSetting(QObject::tr("Retrieve Lineups"))
137  {
138  }
139 };
140 
141 class DataDirectUserID;
142 class DataDirectPassword;
143 
145 {
146  Q_OBJECT
147  public:
148  DataDirect_config(const VideoSource& _parent, int _ddsource, StandardSetting *_setting);
149 
150  virtual void Load(void);
151 
152  QString getLineupID(void) const { return lineupselector->getValue(); };
153 
154  protected slots:
155  void fillDataDirectLineupSelector(void);
156 
157  protected:
165  int source;
166 };
167 
169 {
170  Q_OBJECT
171 
172  public:
173  XMLTV_generic_config(const VideoSource& _parent, QString _grabber,
174  StandardSetting *_setting);
175 
176  virtual void Save(void);
177  virtual void Save(QString) { Save(); }
178 
179  public slots:
180  void RunConfig(void);
181 
182  protected:
184  QString grabber;
185  QStringList grabberArgs;
186 };
187 
189 {
190 public:
191  EITOnly_config(const VideoSource& _parent, StandardSetting *_setting);
192 
193  virtual void Save();
194  virtual void Save(QString) { Save(); }
195 
196 protected:
198 };
199 
201 {
202 public:
203  explicit NoGrabber_config(const VideoSource& _parent);
204 
205  virtual void Save(void);
206  virtual void Save(QString) { Save(); }
207 
208 protected:
210 };
211 
213 public:
214  IdSetting(const QString &table, const QString &setting):
215  AutoIncrementSetting(table, setting)
216  {
217  setVisible(false);
218  }
219 
220  int intValue() { return getValue().toInt(); }
221  void setValue(int value) { setValue(QString::number(value)); }
223 };
224 
225 class VideoSource : public GroupSetting {
226  Q_OBJECT
227 
228  public:
229  VideoSource();
230 
231  int getSourceID(void) const { return id->intValue(); };
232 
233  void loadByID(int id);
234 
235  static void fillSelections(GroupSetting* setting);
236  static void fillSelections(MythUIComboBoxSetting* setting);
237  static QString idToName(int id);
238 
239  QString getSourceName(void) const { return name->getValue(); };
240 
241  virtual void Load(void)
242  {
244  }
245 
246  virtual void Save(void)
247  {
248  if (name)
250  }
251  virtual bool canDelete(void);
252  virtual void deleteEntry(void);
253 
254  private:
255  class ID: public IdSetting
256  {
257  public:
258  ID() : IdSetting("videosource", "sourceid")
259  {
260  };
261  };
262 
264  {
265  public:
266  explicit Name(const VideoSource &parent) :
267  MythUITextEditSetting(new VideoSourceDBStorage(this, parent, "name"))
268  {
269  setLabel(QObject::tr("Video source name"));
270  }
271  };
272 
273 private:
274  ID *id;
276 };
277 
279 {
280  public:
282  const CaptureCard &_parent,
283  const QString &_name) :
284  SimpleDBStorage(_user, "capturecard", _name), m_parent(_parent)
285  {
286  }
287 
288 
289 protected:
290  int getCardID(void) const;
291  virtual QString GetSetClause(MSqlBindings &bindings) const;
292  virtual QString GetWhereClause(MSqlBindings &bindings) const;
293 private:
295 };
296 
298 {
299  public:
301  bool rw,
302  const QString &setting) :
303  MythUIComboBoxSetting(new CaptureCardDBStorage(this, parent, setting),
304  rw)
305  {
306  }
307 };
308 
310 {
311  Q_OBJECT
312  public:
313  TunerCardAudioInput(const CaptureCard &parent,
314  QString dev = QString::null,
315  QString type = QString::null);
316 
317  public slots:
318  int fillSelections(const QString &device);
319 
320  private:
321  QString last_device;
322  QString last_cardtype;
323 };
324 
326 {
327  Q_OBJECT
328  public:
329  explicit EmptyAudioDevice(const CaptureCard &parent) :
331  "audiodevice"))
332  {
333  setVisible(false);
334  }
335 
336  void Save(void)
337  {
338  GetStorage()->SetSaveRequired();
339  setValue("");
340  GetStorage()->Save();
341  }
342  void Save(QString destination)
343  {
344  GetStorage()->SetSaveRequired();
345  setValue("");
346  GetStorage()->Save(destination);
347  }
348 };
349 
351 {
352  Q_OBJECT
353 
354  public:
355  explicit EmptyVBIDevice(const CaptureCard &parent) :
356  MythUITextEditSetting(new CaptureCardDBStorage(this, parent, "vbidevice"))
357  {
358  setVisible(false);
359  };
360 
361  void Save(void)
362  {
363  GetStorage()->SetSaveRequired();
364  setValue("");
365  GetStorage()->Save();
366  }
367  void Save(QString destination)
368  {
369  GetStorage()->SetSaveRequired();
370  setValue("");
371  GetStorage()->Save(destination);
372  }
373 };
374 
376 {
377 public:
378  explicit CardType(const CaptureCard& parent);
379  static void fillSelections(MythUIComboBoxSetting* setting);
380 };
381 
383 {
384  public:
385  QString mythdeviceid;
386  QString deviceid;
387  QString desc;
388  QString cardip;
389  QString cardtuner;
390  bool inuse;
392 };
393 
394 typedef QMap<QString, HDHomeRunDevice> HDHomeRunDeviceList;
395 
397 class HDHomeRunDeviceID;
398 class HDHomeRunIP;
399 class HDHomeRunTunerIndex;
401 {
402  Q_OBJECT
403 
404  friend class HDHomeRunExtra;
405 
406  public:
408 
409  private:
410  void FillDeviceList(void);
411  bool ProbeCard(HDHomeRunDevice&);
412 
413  private:
421 };
422 
424 {
425  public:
426  QString mythdeviceid;
427  QString deviceid;
428  QString desc;
429  QString cardip;
430  QString tunerno;
431  QString tunertype;
432  bool inuse;
434 };
435 
436 typedef QMap<QString, VBoxDevice> VBoxDeviceList;
437 
438 class VBoxDeviceIDList;
439 class VBoxDeviceID;
440 class VBoxIP;
441 class VBoxTunerIndex;
443 {
444  Q_OBJECT
445 
446  public:
447  VBoxConfigurationGroup(CaptureCard &parent, CardType &cardtype);
448 
449  private:
450  void FillDeviceList(void);
451 
452  private:
460 };
461 
463 {
464  Q_OBJECT
465 
466  public:
467  V4LConfigurationGroup(CaptureCard &parent, CardType &cardtype);
468 
469  public slots:
470  void probeCard(const QString &device);
471 
472  private:
476 };
477 
478 class VideoDevice;
479 class VBIDevice;
480 
482 {
483  Q_OBJECT
484 
485  public:
486  MPEGConfigurationGroup(CaptureCard &parent, CardType &cardtype);
487 
488  public slots:
489  void probeCard(const QString &device);
490 
491  private:
496 };
497 
499 {
500  Q_OBJECT
501 
502  public:
503  HDPVRConfigurationGroup(CaptureCard &parent, CardType &cardtype);
504 
505  public slots:
506  void probeCard(const QString &device);
507 
508  private:
513 };
514 
515 class ASIDevice;
516 
518 {
519  Q_OBJECT
520 
521  public:
522  V4L2encGroup(CaptureCard& parent, CardType& cardType);
523 
524  private:
528 
529  QString m_DriverName;
530 
531  protected slots:
532  void probeCard(const QString &device);
533 };
534 
536 {
537  Q_OBJECT
538 
539  public:
540  ASIConfigurationGroup(CaptureCard &parent, CardType &cardType);
541 
542  public slots:
543  void probeCard(const QString &device);
544 
545  private:
549 };
550 
552 {
553  Q_OBJECT
554 
555  public:
556  ImportConfigurationGroup(CaptureCard &parent, CardType &cardtype);
557 
558  public slots:
559  void probeCard(const QString &device);
560 
561  private:
565 };
566 
568 {
569  Q_OBJECT
570 
571  public:
572  DemoConfigurationGroup(CaptureCard &parent, CardType &cardtype);
573 
574  public slots:
575  void probeCard(const QString &device);
576 
577  private:
581 };
582 
583 #if !defined( USING_MINGW ) && !defined( _MSC_VER )
584 class ExternalConfigurationGroup: public GroupSetting
585 {
586  Q_OBJECT
587 
588  public:
589  ExternalConfigurationGroup(CaptureCard &parent, CardType &cardtype);
590 
591  public slots:
592  void probeApp(const QString & path);
593 
594  private:
595  CaptureCard &parent;
596  TransTextEditSetting *info;
597 };
598 #endif
599 
600 class DVBCardNum;
601 class DVBCardName;
602 class DVBCardType;
603 class DVBTuningDelay;
604 
606 {
607  Q_OBJECT
608 
609  friend class DVBExtra;
610 
611  public:
612  DVBConfigurationGroup(CaptureCard& a_parent, CardType& cardType);
614 
615  virtual void Load(void);
616 
617  virtual void Save(void);
618 
619  public slots:
620  void probeCard(const QString& cardNumber);
621  void reloadDiseqcTree(const QString &device);
622 
623  private:
625 
631 #if 0
632  TransButtonSetting *buttonAnalog;
633 #endif
637 };
638 
639 class FirewireGUID;
641 {
642  Q_OBJECT
643 
644  public:
645  FirewireModel(const CaptureCard &parent, const FirewireGUID*);
646 
647  public slots:
648  void SetGUID(const QString&);
649 
650  private:
652 };
653 
655 {
656  Q_OBJECT
657 
658  public:
659  explicit FirewireDesc(const FirewireGUID *_guid) :
660  GroupSetting(), guid(_guid) { }
661 
662  public slots:
663  void SetGUID(const QString&);
664 
665  private:
667 };
668 
670 {
671  Q_OBJECT
672 public:
673  explicit CaptureCardGroup(CaptureCard& parent);
674 };
675 
676 class CaptureCard : public GroupSetting
677 {
678  Q_OBJECT
679 public:
680  explicit CaptureCard(bool use_card_group = true);
681 
682  int getCardID(void) const { return id->intValue(); }
683  QString GetRawCardType(void) const;
684 
685  void loadByID(int id);
686 
687  static void fillSelections(GroupSetting* setting);
688 
689  void reload(void);
690 
691  virtual void Save(void);
692 
693  virtual bool canDelete(void);
694  virtual void deleteEntry(void);
695 
696 private:
697 
698  class ID: public IdSetting {
699  public:
700  ID():
701  IdSetting("capturecard", "cardid")
702  {
703  }
704  };
705 
706  class Hostname : public StandardSetting
707  {
708  public:
709  explicit Hostname(const CaptureCard &parent) :
710  StandardSetting(new CaptureCardDBStorage(this, parent, "hostname"))
711  {
712  setVisible(false);
713  setValue(gCoreContext->GetHostName());
714  }
715  void edit(MythScreenType *) {}
717  };
718 
719 private:
720  ID *id;
721 };
722 
724 {
725  public:
727  const CardInput &_parent,
728  QString _name) :
729  SimpleDBStorage(_user, "capturecard", _name), m_parent(_parent)
730  {
731  }
732 
733  int getInputID(void) const;
734 
735  protected:
736  void fillSelections();
737 
738  virtual QString GetSetClause(MSqlBindings &bindings) const;
739  virtual QString GetWhereClause(MSqlBindings &bindings) const;
740 
741  private:
743 };
744 
746 {
747  Q_OBJECT
748 
749  public:
750  CaptureCardButton(const QString &label, const QString &value)
751  : ButtonStandardSetting(label),
752  m_value(value)
753  {
754  }
755 
756  virtual void edit(MythScreenType *screen);
757 
758  signals:
759  void Clicked(const QString &choice);
760 
761  private:
762  QString m_value;
763 };
764 
766 {
767  Q_OBJECT
768 
769  public:
771 
772  virtual void Load(void);
773 
774  void AddSelection(const QString &label, const char *slot);
775 
776  public slots:
777  void ShowDeleteAllCaptureCardsDialog(void);
778  void ShowDeleteAllCaptureCardsDialogOnHost(void);
779  void DeleteAllCaptureCards(bool);
780  void DeleteAllCaptureCardsOnHost(bool);
781  void AddNewCard(void);
782 };
783 
785 {
786  Q_OBJECT
787 
788  public:
790 
791  bool cardTypesInclude(const int& SourceID,
792  const QString& thecardtype);
793 
794  virtual void Load(void);
795  void AddSelection(const QString &label, const char *slot);
796 
797  public slots:
798  void NewSource(void);
799  void ShowDeleteAllSourcesDialog(void);
800  void DeleteAllSources(bool);
801 };
802 
804 {
805  Q_OBJECT
806 
807  public:
808  CardInputEditor();
809 
810  virtual void Load(void);
811 
812  private:
813  vector<CardInput*> cardinputs;
814 };
815 
817 {
818  Q_OBJECT
819  public:
820  explicit StartingChannel(const CardInput &parent) :
821  MythUIComboBoxSetting(new CardInputDBStorage(this, parent, "startchan"),
822  false)
823  {
824  setLabel(QObject::tr("Starting channel"));
825  setHelpText(QObject::tr("Starting Live TV channel.") + " " +
826  QObject::tr("This is updated on every successful "
827  "channel change."));
828  }
829  void fillSelections(void) {;}
830  public slots:
831  void SetSourceID(const QString &sourceid);
832 };
833 
834 class CardInput : public GroupSetting
835 {
836  Q_OBJECT
837  public:
838  CardInput(const QString & cardtype, const QString & device,
839  int cardid);
840  ~CardInput();
841 
842  int getInputID(void) const { return id->intValue(); };
843 
844  void loadByID(int id);
845  void loadByInput(int cardid, QString input);
846  QString getSourceName(void) const;
847 
848  virtual void Save(void);
849 
850  public slots:
851  void CreateNewInputGroup();
852  void channelScanner();
853  void sourceFetch();
854  void SetSourceID(const QString &sourceid);
855  void UpdateSchedGroup(const QString &value);
856  void CreateNewInputGroupSlot(const QString &name);
857 
858  private:
859  class ID: public IdSetting
860  {
861  public:
862  ID() : IdSetting("capturecard", "cardid")
863  {
864  }
865  };
866 
867  ID *id;
878 };
879 
880 class HDHomeRunDeviceID;
881 class HDHomeRunTunerIndex;
882 
883 class HDHomeRunIP : public GroupSetting
884 {
885  Q_OBJECT
886 
887  public:
888  HDHomeRunIP();
889 
890  virtual void setEnabled(bool e);
891  void SetOldValue(const QString &s)
892  { _oldValue = s; _oldValue.detach(); };
893 
894  signals:
895  void NewIP(const QString&);
896 
897  public slots:
898  void UpdateDevices(const QString&);
899 
900  private:
901  QString _oldValue;
902 };
903 
905 {
906  Q_OBJECT
907 
908  public:
910 
911  virtual void setEnabled(bool e);
912  void SetOldValue(const QString &s)
913  { _oldValue = s; _oldValue.detach(); };
914 
915  signals:
916  void NewTuner(const QString&);
917 
918  public slots:
919  void UpdateDevices(const QString&);
920 
921  private:
922  QString _oldValue;
923 };
924 
925 
927 {
928  Q_OBJECT
929 
930  public:
932  StandardSetting *desc,
933  HDHomeRunIP *cardip,
934  HDHomeRunTunerIndex *cardtuner,
935  HDHomeRunDeviceList *devicelist);
936 
937  void fillSelections(const QString &current);
938 
939  virtual void Load(void);
940 
941  public slots:
942  void UpdateDevices(const QString&);
943 
944  private:
950 
951  QString _oldValue;
952 };
953 
955 {
956  Q_OBJECT
957 
958  public:
959  explicit HDHomeRunDeviceID(const CaptureCard &parent);
960 
961  virtual void Load(void);
962 
963  public slots:
964  void SetIP(const QString&);
965  void SetTuner(const QString&);
966  void SetOverrideDeviceID(const QString&);
967 
968  private:
969  QString _ip;
970  QString _tuner;
972 };
973 
975 class VBoxDeviceID;
976 class VBoxTunerIndex;
977 
978 class VBoxIP : public GroupSetting
979 {
980  Q_OBJECT
981 
982  public:
983  VBoxIP();
984 
985  virtual void setEnabled(bool e);
986  void SetOldValue(const QString &s)
987  { _oldValue = s; _oldValue.detach(); };
988 
989  signals:
990  void NewIP(const QString&);
991 
992  public slots:
993  void UpdateDevices(const QString&);
994 
995  private:
996  QString _oldValue;
997 };
998 
1000 {
1001  Q_OBJECT
1002 
1003  public:
1004  VBoxTunerIndex();
1005 
1006  virtual void setEnabled(bool e);
1007  void SetOldValue(const QString &s)
1008  { _oldValue = s; _oldValue.detach(); };
1009 
1010  signals:
1011  void NewTuner(const QString&);
1012 
1013  public slots:
1014  void UpdateDevices(const QString&);
1015 
1016  private:
1017  QString _oldValue;
1018 };
1019 
1021 {
1022  Q_OBJECT
1023 
1024  public:
1025  VBoxDeviceIDList(VBoxDeviceID *deviceid,
1026  StandardSetting *desc,
1027  VBoxIP *cardip,
1028  VBoxTunerIndex *cardtuner,
1029  VBoxDeviceList *devicelist);
1030 
1031  void fillSelections(const QString &current);
1032 
1033  virtual void Load(void);
1034 
1035  public slots:
1036  void UpdateDevices(const QString&);
1037 
1038  private:
1044 
1045  QString _oldValue;
1046 };
1047 
1049 {
1050  Q_OBJECT
1051 
1052  public:
1053  explicit VBoxDeviceID(const CaptureCard &parent);
1054 
1055  virtual void Load(void);
1056 
1057  public slots:
1058  void SetIP(const QString&);
1059  void SetTuner(const QString&);
1060  void SetOverrideDeviceID(const QString&);
1061 
1062  private:
1063  QString _ip;
1064  QString _tuner;
1066 };
1067 
1069 {
1070  Q_OBJECT
1071 
1072  public:
1073  CetonSetting(const char* label, const char* helptext);
1074 
1075  signals:
1076  void NewValue(const QString&);
1077 
1078  public slots:
1079  void UpdateDevices(const QString&);
1080  void LoadValue(const QString&);
1081 };
1082 
1084 {
1085  Q_OBJECT
1086 
1087  public:
1088  explicit CetonDeviceID(const CaptureCard &parent);
1089 
1090  virtual void Load(void);
1091  void UpdateValues();
1092 
1093  signals:
1094  void LoadedIP(const QString&);
1095  void LoadedCard(const QString&);
1096  void LoadedTuner(const QString&);
1097 
1098  public slots:
1099  void SetIP(const QString&);
1100  void SetTuner(const QString&);
1101 
1102  private:
1103  QString _ip;
1104  QString _card;
1105  QString _tuner;
1107 };
1108 
1109 #endif
void SetOldValue(const QString &s)
Definition: videosource.h:912
TransTextEditSetting * cardinfo
Definition: videosource.h:548
QStringList grabberArgs
Definition: videosource.h:185
HDHomeRunIP * _cardip
Definition: videosource.h:947
DiSEqCDevSettings * externalInputSettings
Definition: videosource.h:873
vector< CardInput * > cardinputs
Definition: videosource.h:813
DataDirectLineupSelector(const VideoSource &parent)
Definition: videosource.h:123
unsigned int slots[4]
Definition: element.c:38
QString getSourceName(void) const
Definition: videosource.h:239
DVB-S device settings class.
Definition: diseqc.h:37
QString _tuner
Definition: videosource.h:1105
const CaptureCard & _parent
Definition: videosource.h:1106
CaptureCardDBStorage(StorageUser *_user, const CaptureCard &_parent, const QString &_name)
Definition: videosource.h:281
StandardSetting * _desc
Definition: videosource.h:946
CaptureCardComboBoxSetting(const CaptureCard &parent, bool rw, const QString &setting)
Definition: videosource.h:300
QString cardip
Definition: videosource.h:429
QString _oldValue
Definition: videosource.h:901
VBoxDeviceIDList * deviceidlist
Definition: videosource.h:455
virtual void Load(void)
QString lastloadedpassword
Definition: videosource.h:164
QString _overridedeviceid
Definition: videosource.h:971
QString deviceid
Definition: videosource.h:427
CaptureCard & parent
Definition: videosource.h:453
TransTextEditSetting * cardinfo
Definition: videosource.h:474
void Save(QString destination)
Definition: videosource.h:367
HDHomeRunDeviceList * _devicelist
Definition: videosource.h:949
const FirewireGUID * guid
Definition: videosource.h:666
ChannelTimeout * channel_timeout
Definition: videosource.h:630
unsigned int uint
Definition: compat.h:136
MythCoreContext * gCoreContext
This global variable contains the MythCoreContext instance for the app.
int getCardID(void) const
Definition: videosource.h:682
SourceID * sourceid
Definition: videosource.h:869
QString lastloadeduserid
Definition: videosource.h:163
GroupSetting * cardinfo
Definition: videosource.h:510
CardInputDBStorage(StorageUser *_user, const CardInput &_parent, QString _name)
Definition: videosource.h:726
DataDirectPassword * password
Definition: videosource.h:160
VBoxTunerIndex * cardtuner
Definition: videosource.h:458
HDHomeRunDeviceList devicelist
Definition: videosource.h:420
StartingChannel(const CardInput &parent)
Definition: videosource.h:820
HDHomeRunDeviceID * _deviceid
Definition: videosource.h:945
HDHomeRunTunerIndex * cardtuner
Definition: videosource.h:419
QMap< QString, VBoxDevice > VBoxDeviceList
Definition: videosource.h:436
CaptureCard & parent
Definition: videosource.h:473
InputGroup * inputgrp0
Definition: videosource.h:874
QString getLineupID(void) const
Definition: videosource.h:152
QMap< QString, HDHomeRunDevice > HDHomeRunDeviceList
Definition: videosource.h:394
void SetOldValue(const QString &s)
Definition: videosource.h:891
CaptureCard & parent
Definition: videosource.h:624
Hostname(const CaptureCard &parent)
Definition: videosource.h:709
QString _oldValue
Definition: videosource.h:1017
QString deviceid
Definition: videosource.h:386
const CaptureCard & m_parent
Definition: videosource.h:294
MythUICheckBoxSetting * schedgroup
Definition: videosource.h:877
VBoxTunerIndex * _cardtuner
Definition: videosource.h:1042
void Save(void)
Definition: videosource.h:361
QString cardtuner
Definition: videosource.h:389
DataDirectLineupSelector * lineupselector
Definition: videosource.h:162
TransTextEditSetting * m_cardinfo
Definition: videosource.h:526
const FirewireGUID * guid
Definition: videosource.h:651
FirewireDesc(const FirewireGUID *_guid)
Definition: videosource.h:659
VERBOSE_PREAMBLE false
Definition: verbosedefs.h:83
ButtonStandardSetting * srcfetch
Definition: videosource.h:872
#define MTV_PUBLIC
Definition: mythtvexp.h:15
HDHomeRunDeviceIDList * deviceidlist
Definition: videosource.h:416
TunerCardAudioInput * audioinput
Definition: videosource.h:511
void Save(void)
Definition: videosource.h:336
uint GetSourceID(void) const
Definition: videosource.h:83
virtual void Load(void)
Definition: videosource.h:241
void SetOldValue(const QString &s)
Definition: videosource.h:986
DeviceTree * diseqc_btn
Definition: videosource.h:636
QDateTime current(bool stripped)
Returns current Date and Time in UTC.
Definition: mythdate.cpp:10
CaptureCard & parent
Definition: videosource.h:492
static bool is_grabber_datadirect(const QString &grabber)
Definition: videosource.h:35
TransTextEditSetting * size
Definition: videosource.h:564
void fillSelections(void)
Definition: videosource.h:829
QString tunertype
Definition: videosource.h:431
DataDirectButton * button
Definition: videosource.h:161
VBoxDeviceID * _deviceid
Definition: videosource.h:1039
bool discovered
Definition: videosource.h:433
CaptureCard & parent
Definition: videosource.h:509
Name * name
Definition: videosource.h:275
QString mythdeviceid
Definition: videosource.h:385
QString _overridedeviceid
Definition: videosource.h:1065
SignalTimeout * signal_timeout
Definition: videosource.h:629
const char * name
Definition: ParseText.cpp:339
QString _oldValue
Definition: videosource.h:996
DVBCardName * cardname
Definition: videosource.h:627
TransTextEditSetting * info
Definition: videosource.h:563
CaptureCard & m_parent
Definition: videosource.h:525
const VideoSource & m_parent
Definition: videosource.h:69
void resultEdit(DialogCompletionEvent *)
Definition: videosource.h:716
virtual void Save(void)
HDHomeRunDeviceID * deviceid
Definition: videosource.h:417
void edit(MythScreenType *)
Definition: videosource.h:715
TransTextEditSetting * cardinfo
Definition: videosource.h:495
DataDirectUserID * userid
Definition: videosource.h:159
InputGroup * inputgrp1
Definition: videosource.h:875
void Save(QString destination)
Definition: videosource.h:342
DiSEqCDevTree * diseqc_tree
Definition: videosource.h:635
virtual void Save(void)
Definition: videosource.h:246
QString tunerno
Definition: videosource.h:430
StandardSetting * desc
Definition: videosource.h:454
VideoDevice * device
Definition: videosource.h:493
CaptureCard & parent
Definition: videosource.h:578
StandardSetting * _desc
Definition: videosource.h:1040
VBoxDeviceID * deviceid
Definition: videosource.h:456
int intValue()
Definition: videosource.h:220
void SetOldValue(const QString &s)
Definition: videosource.h:1007
virtual void Save(QString)
Definition: videosource.h:177
QString m_DriverName
Definition: videosource.h:529
VBoxDeviceList devicelist
Definition: videosource.h:459
CaptureCardButton(const QString &label, const QString &value)
Definition: videosource.h:750
StartingChannel * startchan
Definition: videosource.h:870
EmptyVBIDevice(const CaptureCard &parent)
Definition: videosource.h:355
TransTextEditSetting * size
Definition: videosource.h:580
VideoDevice * m_device
Definition: videosource.h:527
VideoSourceDBStorage(StorageUser *_user, const VideoSource &_parent, const QString &name)
Definition: videosource.h:58
DVBCardNum * cardnum
Definition: videosource.h:626
virtual void Save(QString)
Definition: videosource.h:194
VBoxDeviceList * _devicelist
Definition: videosource.h:1043
Name(const VideoSource &parent)
Definition: videosource.h:266
DVBCardType * cardtype
Definition: videosource.h:628
TransTextEditSetting * info
Definition: videosource.h:579
HDHomeRunTunerIndex * _cardtuner
Definition: videosource.h:948
EmptyAudioDevice(const CaptureCard &parent)
Definition: videosource.h:329
QMap< QString, QVariant > MSqlBindings
typedef for a map of string -> string bindings for generic queries.
Definition: mythdbcon.h:98
int getSourceID(void) const
Definition: videosource.h:231
ButtonStandardSetting * scan
Definition: videosource.h:871
Screen in which all other widgets are contained and rendered.
DVBTuningDelay * tuning_delay
Definition: videosource.h:634
QString desc
Definition: videosource.h:428
static bool is_grabber_labs(const QString &grabber)
Definition: videosource.h:50
static int get_datadirect_provider(const QString &grabber)
Definition: videosource.h:40
StandardSetting * desc
Definition: videosource.h:415
QString GetHostName(void)
Event dispatched from MythUI modal dialogs to a listening class containing a result of some form...
Definition: mythdialogbox.h:37
void setValue(int value)
Definition: videosource.h:221
QString _tuner
Definition: videosource.h:1064
IdSetting(const QString &table, const QString &setting)
Definition: videosource.h:214
const CardInput & m_parent
Definition: videosource.h:742
virtual void Save(QString)
Definition: videosource.h:206
const VideoSource & parent
Definition: videosource.h:158
DVB-S device tree class.
Definition: diseqc.h:75
virtual void Save(QString)
Definition: videosource.h:109
virtual void setValue(const QString &newValue)
InputName * inputname
Definition: videosource.h:868
MythUISpinBoxSetting * instancecount
Definition: videosource.h:876
const VideoSource & parent
Definition: videosource.h:183
UseEIT * useeit
Definition: videosource.h:197
CaptureCard & parent
Definition: videosource.h:546
static bool is_grabber_external(const QString &grabber)
Definition: videosource.h:27
QString mythdeviceid
Definition: videosource.h:426
int getInputID(void) const
Definition: videosource.h:842