MythTV  0.28pre
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 "settings.h"
9 #include "datadirect.h"
10 
11 class SignalTimeout;
12 class ChannelTimeout;
13 class UseEIT;
14 class VideoSource;
15 class CaptureCard;
16 class VBIDevice;
17 class CardInput;
18 class CardID;
19 class InputName;
20 class SourceID;
21 class DiSEqCDevTree;
22 class DiSEqCDevSettings;
23 class InputGroup;
24 
25 static inline bool is_grabber_external(const QString &grabber)
26 {
27  return !(grabber == "datadirect" ||
28  grabber == "eitonly" ||
29  grabber == "schedulesdirect1" ||
30  grabber == "/bin/true");
31 }
32 
33 static inline bool is_grabber_datadirect(const QString &grabber)
34 {
35  return (grabber == "datadirect") || (grabber == "schedulesdirect1");
36 }
37 
38 static inline int get_datadirect_provider(const QString &grabber)
39 {
40  if (grabber == "datadirect")
41  return DD_ZAP2IT;
42  else if (grabber == "schedulesdirect1")
43  return DD_SCHEDULES_DIRECT;
44  else
45  return -1;
46 }
47 
48 static inline bool is_grabber_labs(const QString &grabber)
49 {
50  return grabber == "datadirect";
51 }
52 
54 {
55  protected:
57  const VideoSource &_parent,
58  const QString &name) :
59  SimpleDBStorage(_user, "videosource", name), m_parent(_parent)
60  {
61  }
62 
63  virtual QString GetSetClause(MSqlBindings &bindings) const;
64  virtual QString GetWhereClause(MSqlBindings &bindings) const;
65 
67 };
68 
70 {
71  Q_OBJECT
72 
73  public:
74  VideoSourceSelector(uint _initial_sourceid,
75  const QString &_card_types,
76  bool _must_have_mplexid);
77 
78  virtual void Load(void);
79 
80  uint GetSourceID(void) const { return getValue().toUInt(); }
81 
82  private:
84  QString card_types;
86 };
87 
90 {
91  Q_OBJECT
92 public:
94 protected:
95  QString freq;
96 };
97 
99 {
100  public:
101  TransFreqTableSelector(uint _sourceid);
102 
103  virtual void Load(void);
104 
105  virtual void Save(void);
106  virtual void Save(QString /*destination*/) { Save(); }
107 
108  void SetSourceID(uint _sourceid);
109 
110  private:
113 };
114 
117 {
118  Q_OBJECT
119 public:
121  ComboBoxSetting(this), VideoSourceDBStorage(this, parent, "lineupid")
122  {
123  setLabel(QObject::tr("Data Direct lineup"));
124  };
125 
126  public slots:
127  void fillSelections(const QString& uid, const QString& pwd, int source);
128 };
129 
131 {
132  public:
133  DataDirectButton() { setLabel(QObject::tr("Retrieve Lineups")); }
134 };
135 
136 class DataDirectUserID;
137 class DataDirectPassword;
138 
140 {
141  Q_OBJECT
142  public:
143  DataDirect_config(const VideoSource& _parent, int _ddsource);
144 
145  virtual void Load(void);
146 
147  QString getLineupID(void) const { return lineupselector->getValue(); };
148 
149  protected slots:
150  void fillDataDirectLineupSelector(void);
151 
152  protected:
160  int source;
161 };
162 
164 {
165  Q_OBJECT
166 
167  public:
168  XMLTV_generic_config(const VideoSource& _parent, QString _grabber);
169 
170  virtual void Save(void);
171  virtual void Save(QString) { Save(); }
172 
173  public slots:
174  void RunConfig(void);
175 
176  protected:
178  QString grabber;
179  QStringList grabberArgs;
180 };
181 
183 {
184 public:
185  EITOnly_config(const VideoSource& _parent);
186 
187  virtual void Save();
188  virtual void Save(QString) { Save(); }
189 
190 protected:
192 };
193 
195 {
196 public:
197  NoGrabber_config(const VideoSource& _parent);
198 
199  virtual void Save(void);
200  virtual void Save(QString) { Save(); }
201 
202 protected:
204 };
205 
206 
207 class XMLTVGrabber;
209 {
210  Q_OBJECT
211 
212  public:
213  XMLTVConfig(const VideoSource &aparent);
214 
215  virtual void Load(void);
216  virtual void Save(void);
217  virtual void Save(QString /*destination*/) { Save(); }
218 
219  private:
222 
223  void LoadXMLTVGrabbers(QStringList name_list, QStringList prog_list);
224 };
225 
227 public:
228  VideoSource();
229 
230  int getSourceID(void) const { return id->intValue(); };
231 
232  void loadByID(int id);
233 
234  static void fillSelections(SelectSetting* setting);
235  static QString idToName(int id);
236 
237  QString getSourceName(void) const { return name->getValue(); };
238 
239  virtual void Save(void)
240  {
241  if (name)
243  }
244 
245  virtual void Save(QString destination)
246  {
247  if (name)
248  ConfigurationWizard::Save(destination);
249  }
250 
251  private:
253  {
254  public:
255  ID() : AutoIncrementDBSetting("videosource", "sourceid")
256  {
257  setName("VideoSourceName");
258  setVisible(false);
259  };
260  };
261 
263  {
264  public:
266  LineEditSetting(this), VideoSourceDBStorage(this, parent, "name")
267  {
268  setLabel(QObject::tr("Video source name"));
269  }
270  };
271 
272 private:
273  ID *id;
276 };
277 
279 {
280  protected:
282  const CaptureCard &_parent,
283  const QString &_name) :
284  SimpleDBStorage(_user, "capturecard", _name), m_parent(_parent)
285  {
286  }
287 
288  int getCardID(void) const;
289 
290 protected:
291  virtual QString GetSetClause(MSqlBindings &bindings) const;
292  virtual QString GetWhereClause(MSqlBindings &bindings) const;
293 private:
295 };
296 
298 {
299  Q_OBJECT
300  public:
302  QString dev = QString::null,
303  QString type = QString::null);
304 
305  public slots:
306  void fillSelections(const QString &device);
307 
308  private:
309  QString last_device;
310  QString last_cardtype;
311 };
312 
314 {
315  Q_OBJECT
316  public:
318  LineEditSetting(this),
319  CaptureCardDBStorage(this, parent, "audiodevice")
320  {
321  setVisible(false);
322  }
323 
324  void Save(void)
325  {
326  SetSaveRequired();
327  settingValue = "";
329  }
330  void Save(QString destination)
331  {
332  SetSaveRequired();
333  settingValue = "";
334  SimpleDBStorage::Save(destination);
335  }
336 };
337 
339 {
340  Q_OBJECT
341 
342  public:
344  LineEditSetting(this),
345  CaptureCardDBStorage(this, parent, "vbidevice")
346  {
347  setVisible(false);
348  };
349 
350  void Save(void)
351  {
352  SetSaveRequired();
353  settingValue = "";
355  }
356  void Save(QString destination)
357  {
358  SetSaveRequired();
359  settingValue = "";
360  SimpleDBStorage::Save(destination);
361  }
362 };
363 
365 {
366 public:
367  CardType(const CaptureCard& parent);
368  static void fillSelections(SelectSetting* setting);
369 };
370 
372 {
373  public:
374  QString mythdeviceid;
375  QString deviceid;
376  QString desc;
377  QString cardip;
378  QString cardtuner;
379  bool inuse;
381 };
382 
383 typedef QMap<QString, HDHomeRunDevice> HDHomeRunDeviceList;
384 
386 class HDHomeRunDeviceID;
387 class HDHomeRunIP;
388 class HDHomeRunTunerIndex;
390 {
391  Q_OBJECT
392 
393  friend class HDHomeRunExtra;
394 
395  public:
397 
398  public slots:
399  void HDHomeRunExtraPanel(void);
400 
401  private:
402  void FillDeviceList(void);
403  bool ProbeCard(HDHomeRunDevice&);
404 
405  private:
413 };
414 
416 {
417  public:
418  QString mythdeviceid;
419  QString deviceid;
420  QString desc;
421  QString cardip;
422  QString tunerno;
423  QString tunertype;
424  bool inuse;
426 };
427 
428 typedef QMap<QString, VBoxDevice> VBoxDeviceList;
429 
430 class VBoxDeviceIDList;
431 class VBoxDeviceID;
432 class VBoxIP;
433 class VBoxTunerIndex;
435 {
436  Q_OBJECT
437 
438  friend class VBoxExtra;
439 
440  public:
442 
443  public slots:
444  void VBoxExtraPanel(void);
445 
446  private:
447  void FillDeviceList(void);
448 
449  private:
457 };
458 
459 class CetonDeviceID;
460 class CetonSetting;
461 class InstanceCount;
463 {
464  Q_OBJECT
465 
466  public:
468 
469  private:
476 };
477 
478 
479 
481 {
482  Q_OBJECT
483 
484  public:
486 
487  public slots:
488  void probeCard(const QString &device);
489 
490  private:
494 };
495 
496 class VideoDevice;
497 class VBIDevice;
498 
500 {
501  Q_OBJECT
502 
503  public:
505 
506  public slots:
507  void probeCard(const QString &device);
508 
509  private:
514 };
515 
517 {
518  Q_OBJECT
519 
520  public:
522 
523  public slots:
524  void probeCard(const QString &device);
525 
526  private:
531 };
532 
533 class InstanceCount;
534 
536 {
537  Q_OBJECT
538 
539  public:
541 
542  private:
546 
547  QString m_DriverName;
548 
549  protected slots:
550  virtual void triggerChanged(const QString& value);
551  void probeCard(const QString &device);
552 };
553 
554 class ASIDevice;
555 
557 {
558  Q_OBJECT
559 
560  public:
562 
563  public slots:
564  void probeCard(const QString &device);
565 
566  private:
571 };
572 
573 class InstanceCount;
574 
576 {
577  Q_OBJECT
578 
579  public:
581 
582  public slots:
583  void probeCard(const QString &device);
584 
585  private:
589 };
590 
592 {
593  Q_OBJECT
594 
595  public:
597 
598  public slots:
599  void probeCard(const QString &device);
600 
601  private:
605 };
606 
607 #if !defined( USING_MINGW ) && !defined( _MSC_VER )
609 {
610  Q_OBJECT
611 
612  public:
614 
615  public slots:
616  void probeApp(const QString & path);
617 
618  private:
622 };
623 #endif
624 
625 class DVBCardNum;
626 class DVBCardName;
627 class DVBCardType;
628 class DVBTuningDelay;
629 
631 {
632  Q_OBJECT
633 
634  friend class DVBExtra;
635 
636  public:
639 
640  virtual void Load(void);
641 
642  virtual void Save(void);
643  virtual void Save(QString /*destination*/) { Save(); }
644 
645  public slots:
646  void probeCard(const QString& cardNumber);
647  void reloadDiseqcTree(const QString &device);
648  void DiSEqCPanel(void);
649  void DVBExtraPanel(void);
650 
651  private:
653 
659 #if 0
661 #endif
665 };
666 
667 class FirewireGUID;
669 {
670  Q_OBJECT
671 
672  public:
674 
675  public slots:
676  void SetGUID(const QString&);
677 
678  private:
680 };
681 
683 {
684  Q_OBJECT
685 
686  public:
687  FirewireDesc(const FirewireGUID *_guid) :
688  TransLabelSetting(), guid(_guid) { }
689 
690  public slots:
691  void SetGUID(const QString&);
692 
693  private:
695 };
696 
698 {
699  Q_OBJECT
700 public:
702 
703 protected slots:
704  virtual void triggerChanged(const QString& value);
705 };
706 
707 class CaptureCard : public QObject, public ConfigurationWizard
708 {
709  Q_OBJECT
710 public:
711  CaptureCard(bool use_card_group = true);
712 
713  int getCardID(void) const { return id->intValue(); }
714  QString GetRawCardType(void) const;
715 
716  void loadByID(int id);
717 
718  static void fillSelections(SelectSetting* setting);
719 
720  void reload(void);
721 
722  virtual void Save(void);
723  virtual void Save(QString /*destination*/) { Save(); }
724 
725  uint GetInstanceCount(void) const { return instance_count; }
726 
727 public slots:
728  void SetInstanceCount(uint cnt) { instance_count = cnt; }
729  // this is needed to connect valueChanged() signal from legacy settings
730  void SetInstanceCount(int cnt) { instance_count = (uint)cnt; }
731 
732 private:
733 
734  class ID: public AutoIncrementDBSetting {
735  public:
736  ID():
737  AutoIncrementDBSetting("capturecard", "cardid") {
738  setVisible(false);
739  setName("ID");
740  };
741  };
742 
744  {
745  public:
747  HostnameSetting(this),
748  CaptureCardDBStorage(this, parent, "hostname") { }
749  };
750 
751 private:
752  ID *id;
754 };
755 
757 {
758  protected:
760  const CardInput &_parent,
761  QString _name) :
762  SimpleDBStorage(_user, "capturecard", _name), m_parent(_parent)
763  {
764  }
765 
766  int getInputID(void) const;
767 
768  void fillSelections();
769 
770 protected:
771  virtual QString GetSetClause(MSqlBindings &bindings) const;
772  virtual QString GetWhereClause(MSqlBindings &bindings) const;
773 private:
775 };
776 
777 class MTV_PUBLIC CaptureCardEditor : public QObject, public ConfigurationDialog
778 {
779  Q_OBJECT
780 
781  public:
783 
784  virtual MythDialog* dialogWidget(MythMainWindow* parent,
785  const char* widgetName=0);
786  virtual DialogCode exec(void);
787  virtual DialogCode exec(bool /*saveOnExec*/, bool /*doLoad*/)
788  { return exec(); }
789  virtual void Load(void);
790 
791  virtual void Save(void) { }
792  virtual void Save(QString destination) { }
793 
794  public slots:
795  void menu(void);
796  void edit(void);
797  void del(void);
798 
799  private:
801 };
802 
803 class MTV_PUBLIC VideoSourceEditor : public QObject, public ConfigurationDialog
804 {
805  Q_OBJECT
806 
807  public:
809 
810  virtual MythDialog* dialogWidget(MythMainWindow* parent,
811  const char* widgetName=0);
812 
813  bool cardTypesInclude(const int& SourceID,
814  const QString& thecardtype);
815 
816  virtual DialogCode exec(void);
817  virtual DialogCode exec(bool /*saveOnExec*/, bool /*doLoad*/)
818  { return exec(); }
819  virtual void Load(void);
820  virtual void Save(void) { }
821  virtual void Save(QString /*destination*/) { }
822 
823  public slots:
824  void menu(void);
825  void edit(void);
826  void del(void);
827 
828  private:
830 };
831 
832 class MTV_PUBLIC CardInputEditor : public QObject, public ConfigurationDialog
833 {
834  Q_OBJECT
835 
836  public:
837  CardInputEditor();
838 
839  virtual DialogCode exec(void);
840  virtual DialogCode exec(bool /*saveOnExec*/, bool /*doLoad*/)
841  { return exec(); }
842  virtual void Load(void);
843  virtual void Save(void) { }
844  virtual void Save(QString /*destination*/) { }
845 
846  private:
847  vector<CardInput*> cardinputs;
849 };
850 
852 {
853  Q_OBJECT
854  public:
856  ComboBoxSetting(this, false, 1),
857  CardInputDBStorage(this, parent, "startchan")
858  {
859  setLabel(QObject::tr("Starting channel"));
860  setHelpText(QObject::tr("Starting Live TV channel.") + " " +
861  QObject::tr("This is updated on every successful "
862  "channel change."));
863  }
864  void fillSelections(void) {;}
865  public slots:
866  void SetSourceID(const QString &sourceid);
867 };
868 
869 class CardInput : public QObject, public ConfigurationWizard
870 {
871  Q_OBJECT
872  public:
873  CardInput(const QString & cardtype, const QString & device,
874  bool is_new_input, int cardid);
875  ~CardInput();
876 
877  int getInputID(void) const { return id->intValue(); };
878 
879  void loadByID(int id);
880  void loadByInput(int cardid, QString input);
881  QString getSourceName(void) const;
882 
883  virtual void Save(void);
884  virtual void Save(QString /*destination*/) { Save(); }
885 
886  public slots:
887  void CreateNewInputGroup();
888  void channelScanner();
889  void sourceFetch();
890  void SetSourceID(const QString &sourceid);
891 
892  private:
894  {
895  public:
896  ID() : AutoIncrementDBSetting("capturecard", "cardid")
897  {
898  setVisible(false);
899  setName("CardInputID");
900  }
901  };
902 
903  ID *id;
912 };
913 
914 class HDHomeRunDeviceID;
915 class HDHomeRunTunerIndex;
916 
918 {
919  Q_OBJECT
920 
921  public:
922  HDHomeRunIP();
923 
924  virtual void setEnabled(bool e);
925  void SetOldValue(const QString &s)
926  { _oldValue = s; _oldValue.detach(); };
927 
928  signals:
929  void NewIP(const QString&);
930 
931  public slots:
932  void UpdateDevices(const QString&);
933 
934  private:
935  QString _oldValue;
936 };
937 
939 {
940  Q_OBJECT
941 
942  public:
944 
945  virtual void setEnabled(bool e);
946  void SetOldValue(const QString &s)
947  { _oldValue = s; _oldValue.detach(); };
948 
949  signals:
950  void NewTuner(const QString&);
951 
952  public slots:
953  void UpdateDevices(const QString&);
954 
955  private:
956  QString _oldValue;
957 };
958 
959 
961 {
962  Q_OBJECT
963 
964  public:
966  TransLabelSetting *desc,
967  HDHomeRunIP *cardip,
968  HDHomeRunTunerIndex *cardtuner,
969  HDHomeRunDeviceList *devicelist);
970 
971  void fillSelections(const QString &current);
972 
973  virtual void Load(void);
974 
975  public slots:
976  void UpdateDevices(const QString&);
977 
978  private:
984 
985  QString _oldValue;
986 };
987 
989 {
990  Q_OBJECT
991 
992  public:
994 
995  virtual void Load(void);
996 
997  public slots:
998  void SetIP(const QString&);
999  void SetTuner(const QString&);
1000  void SetOverrideDeviceID(const QString&);
1001 
1002  private:
1003  QString _ip;
1004  QString _tuner;
1006 };
1007 
1009 class VBoxDeviceID;
1010 class VBoxTunerIndex;
1011 
1013 {
1014  Q_OBJECT
1015 
1016  public:
1017  VBoxIP();
1018 
1019  virtual void setEnabled(bool e);
1020  void SetOldValue(const QString &s)
1021  { _oldValue = s; _oldValue.detach(); };
1022 
1023  signals:
1024  void NewIP(const QString&);
1025 
1026  public slots:
1027  void UpdateDevices(const QString&);
1028 
1029  private:
1030  QString _oldValue;
1031 };
1032 
1034 {
1035  Q_OBJECT
1036 
1037  public:
1038  VBoxTunerIndex();
1039 
1040  virtual void setEnabled(bool e);
1041  void SetOldValue(const QString &s)
1042  { _oldValue = s; _oldValue.detach(); };
1043 
1044  signals:
1045  void NewTuner(const QString&);
1046 
1047  public slots:
1048  void UpdateDevices(const QString&);
1049 
1050  private:
1051  QString _oldValue;
1052 };
1053 
1055 {
1056  Q_OBJECT
1057 
1058  public:
1059  VBoxDeviceIDList(VBoxDeviceID *deviceid,
1060  TransLabelSetting *desc,
1061  VBoxIP *cardip,
1062  VBoxTunerIndex *cardtuner,
1063  VBoxDeviceList *devicelist);
1064 
1065  void fillSelections(const QString &current);
1066 
1067  virtual void Load(void);
1068 
1069  public slots:
1070  void UpdateDevices(const QString&);
1071 
1072  private:
1078 
1079  QString _oldValue;
1080 };
1081 
1083 {
1084  Q_OBJECT
1085 
1086  public:
1088 
1089  virtual void Load(void);
1090 
1091  public slots:
1092  void SetIP(const QString&);
1093  void SetTuner(const QString&);
1094  void SetOverrideDeviceID(const QString&);
1095 
1096  private:
1097  QString _ip;
1098  QString _tuner;
1100 };
1101 
1103 {
1104  Q_OBJECT
1105 
1106  public:
1107  CetonSetting(const char* label, const char* helptext);
1108 
1109  signals:
1110  void NewValue(const QString&);
1111 
1112  public slots:
1113  void UpdateDevices(const QString&);
1114  void LoadValue(const QString&);
1115 };
1116 
1118 {
1119  Q_OBJECT
1120 
1121  public:
1123 
1124  virtual void Load(void);
1125  void UpdateValues();
1126 
1127  signals:
1128  void LoadedIP(const QString&);
1129  void LoadedCard(const QString&);
1130  void LoadedTuner(const QString&);
1131  void LoadedInstances(int);
1132 
1133 
1134  public slots:
1135  void SetIP(const QString&);
1136  void SetTuner(const QString&);
1137 
1138  private:
1139  QString _ip;
1140  QString _card;
1141  QString _tuner;
1143 };
1144 
1145 #endif
void SetOldValue(const QString &s)
Definition: videosource.h:946
QStringList grabberArgs
Definition: videosource.h:179
TransLabelSetting * desc
Definition: videosource.h:407
TransButtonSetting * scan
Definition: videosource.h:907
HDHomeRunIP * _cardip
Definition: videosource.h:981
virtual void Load(void)
TransLabelSetting * cardinfo
Definition: videosource.h:492
DiSEqCDevSettings * externalInputSettings
Definition: videosource.h:909
vector< CardInput * > cardinputs
Definition: videosource.h:847
DataDirectLineupSelector(const VideoSource &parent)
Definition: videosource.h:120
unsigned int slots[4]
Definition: element.c:38
virtual DialogCode exec(bool, bool)
Definition: videosource.h:840
DVB-S device settings class.
Definition: diseqc.h:37
TransButtonSetting * srcfetch
Definition: videosource.h:908
QString _tuner
Definition: videosource.h:1141
const CaptureCard & _parent
Definition: videosource.h:1142
CaptureCard & parent
Definition: videosource.h:470
VERBOSE_PREAMBLE false
Definition: verbosedefs.h:83
CaptureCardDBStorage(StorageUser *_user, const CaptureCard &_parent, const QString &_name)
Definition: videosource.h:281
QString cardip
Definition: videosource.h:421
QString _oldValue
Definition: videosource.h:935
CetonDeviceID * deviceid
Definition: videosource.h:472
TransButtonSetting * buttonAnalog
Definition: videosource.h:660
TransLabelSetting * desc
Definition: videosource.h:451
TransLabelSetting * desc
Definition: videosource.h:471
VBoxDeviceIDList * deviceidlist
Definition: videosource.h:452
uint GetSourceID(void) const
Definition: videosource.h:80
QString lastloadedpassword
Definition: videosource.h:159
QString _overridedeviceid
Definition: videosource.h:1005
virtual void Save(QString)
Definition: videosource.h:844
QString deviceid
Definition: videosource.h:419
CaptureCard & parent
Definition: videosource.h:450
InstanceCount * instances
Definition: videosource.h:570
AllMusic * parent
void Save(QString destination)
Definition: videosource.h:356
int getInputID(void) const
Definition: videosource.h:877
HDHomeRunDeviceList * _devicelist
Definition: videosource.h:983
const FirewireGUID * guid
Definition: videosource.h:694
ChannelTimeout * channel_timeout
Definition: videosource.h:658
unsigned int uint
Definition: compat.h:136
TransLabelSetting * cardinfo
Definition: videosource.h:569
SourceID * sourceid
Definition: videosource.h:905
QString lastloadeduserid
Definition: videosource.h:158
CardInputDBStorage(StorageUser *_user, const CardInput &_parent, QString _name)
Definition: videosource.h:759
TransLabelSetting * info
Definition: videosource.h:603
DataDirectPassword * password
Definition: videosource.h:155
XMLTVConfig * xmltv
Definition: videosource.h:275
VBoxTunerIndex * cardtuner
Definition: videosource.h:455
int getSourceID(void) const
Definition: videosource.h:230
HDHomeRunDeviceList devicelist
Definition: videosource.h:412
StartingChannel(const CardInput &parent)
Definition: videosource.h:855
HDHomeRunDeviceID * _deviceid
Definition: videosource.h:979
HDHomeRunTunerIndex * cardtuner
Definition: videosource.h:411
ListBoxSetting * listbox
Definition: videosource.h:848
TransLabelSetting * cardinfo
Definition: videosource.h:513
QMap< QString, VBoxDevice > VBoxDeviceList
Definition: videosource.h:428
virtual void Save(QString destination)
Definition: videosource.h:792
A ConfigurationDialog that uses a ConfigurationGroup all children on one page in a vertical layout...
void SetInstanceCount(int cnt)
Definition: videosource.h:730
CaptureCard & parent
Definition: videosource.h:491
InputGroup * inputgrp0
Definition: videosource.h:910
QMap< QString, HDHomeRunDevice > HDHomeRunDeviceList
Definition: videosource.h:383
InstanceCount * instances
Definition: videosource.h:475
void SetOldValue(const QString &s)
Definition: videosource.h:925
virtual void Save(void)
Definition: videosource.h:791
CaptureCard & parent
Definition: videosource.h:652
Hostname(const CaptureCard &parent)
Definition: videosource.h:746
QString _oldValue
Definition: videosource.h:1051
QString deviceid
Definition: videosource.h:375
virtual void Save(QString destination)
Definition: videosource.h:245
const CaptureCard & m_parent
Definition: videosource.h:294
VBoxTunerIndex * _cardtuner
Definition: videosource.h:1076
InstanceCount * instances
Definition: videosource.h:621
void Save(void)
Definition: videosource.h:350
QString cardtuner
Definition: videosource.h:378
DataDirectLineupSelector * lineupselector
Definition: videosource.h:157
virtual void Save(QString)
Definition: videosource.h:884
const FirewireGUID * guid
Definition: videosource.h:679
const char * name
Definition: ParseText.cpp:338
FirewireDesc(const FirewireGUID *_guid)
Definition: videosource.h:687
DialogCode
Definition: mythdialogs.h:21
HDHomeRunDeviceIDList * deviceidlist
Definition: videosource.h:408
TransLabelSetting * size
Definition: videosource.h:588
TunerCardAudioInput * audioinput
Definition: videosource.h:529
void Save(void)
Definition: videosource.h:324
int getCardID(void) const
Definition: videosource.h:713
void SetOldValue(const QString &s)
Definition: videosource.h:1020
TransLabelSetting * m_cardinfo
Definition: videosource.h:544
QDateTime current(bool stripped)
Returns current Date and Time in UTC.
Definition: mythdate.cpp:10
InstanceCount * m_instances
Definition: videosource.h:545
CaptureCard & parent
Definition: videosource.h:510
static bool is_grabber_datadirect(const QString &grabber)
Definition: videosource.h:33
XMLTVGrabber * grabber
Definition: videosource.h:221
TransButtonSetting * diseqc_btn
Definition: videosource.h:664
uint GetInstanceCount(void) const
Definition: videosource.h:725
virtual void Save(void)
void fillSelections(void)
Definition: videosource.h:864
QString tunertype
Definition: videosource.h:423
CetonSetting * tuner
Definition: videosource.h:474
DataDirectButton * button
Definition: videosource.h:156
virtual void Save(QString)
Definition: videosource.h:643
VBoxDeviceID * _deviceid
Definition: videosource.h:1073
TransLabelSetting * cardinfo
Definition: videosource.h:528
TransLabelSetting * size
Definition: videosource.h:604
bool discovered
Definition: videosource.h:425
CaptureCard & parent
Definition: videosource.h:527
TransLabelSetting * _desc
Definition: videosource.h:980
Name * name
Definition: videosource.h:274
QString mythdeviceid
Definition: videosource.h:374
QString _overridedeviceid
Definition: videosource.h:1099
SignalTimeout * signal_timeout
Definition: videosource.h:657
TransLabelSetting * info
Definition: videosource.h:587
QString _oldValue
Definition: videosource.h:1030
QString getLineupID(void) const
Definition: videosource.h:147
virtual void Save(QString)
Definition: videosource.h:217
DVBCardName * cardname
Definition: videosource.h:655
CaptureCard & m_parent
Definition: videosource.h:543
ListBoxSetting * listbox
Definition: videosource.h:800
A ConfigurationDialog that uses a ConfigurationGroup with one child per page.
Base dialog for most dialogs in MythTV using the old UI.
Definition: mythdialogs.h:50
virtual void Save(void)
Definition: videosource.h:843
virtual void Save(void)
Definition: mythstorage.cpp:83
const VideoSource & m_parent
Definition: videosource.h:66
HDHomeRunDeviceID * deviceid
Definition: videosource.h:409
DataDirectUserID * userid
Definition: videosource.h:154
InputGroup * inputgrp1
Definition: videosource.h:911
void Save(QString destination)
Definition: videosource.h:330
static MythThemedMenu * menu
DiSEqCDevTree * diseqc_tree
Definition: videosource.h:663
virtual void Save(void)
Definition: videosource.h:239
QString tunerno
Definition: videosource.h:422
uint instance_count
Definition: videosource.h:753
VideoDevice * device
Definition: videosource.h:511
CaptureCard & parent
Definition: videosource.h:602
const VideoSource & parent
Definition: videosource.h:220
VBoxDeviceID * deviceid
Definition: videosource.h:453
void SetOldValue(const QString &s)
Definition: videosource.h:1041
virtual void Save(QString)
Definition: videosource.h:171
QString m_DriverName
Definition: videosource.h:547
VBoxDeviceList devicelist
Definition: videosource.h:456
TransLabelSetting * _desc
Definition: videosource.h:1074
StartingChannel * startchan
Definition: videosource.h:906
ListBoxSetting * listbox
Definition: videosource.h:829
EmptyVBIDevice(const CaptureCard &parent)
Definition: videosource.h:343
void SetInstanceCount(uint cnt)
Definition: videosource.h:728
GLint GLenum GLsizei GLint GLenum GLenum type
VideoSourceDBStorage(StorageUser *_user, const VideoSource &_parent, const QString &name)
Definition: videosource.h:56
DVBCardNum * cardnum
Definition: videosource.h:654
virtual void Save(void)
Definition: videosource.h:820
virtual void Save(QString)
Definition: videosource.h:188
VBoxDeviceList * _devicelist
Definition: videosource.h:1077
Name(const VideoSource &parent)
Definition: videosource.h:265
DVBCardType * cardtype
Definition: videosource.h:656
virtual void Save(QString)
Definition: videosource.h:723
HDHomeRunTunerIndex * _cardtuner
Definition: videosource.h:982
EmptyAudioDevice(const CaptureCard &parent)
Definition: videosource.h:317
QMap< QString, QVariant > MSqlBindings
typedef for a map of string -> string bindings for generic queries.
Definition: mythdbcon.h:98
QString getSourceName(void) const
Definition: videosource.h:237
DVBTuningDelay * tuning_delay
Definition: videosource.h:662
QString desc
Definition: videosource.h:420
static bool is_grabber_labs(const QString &grabber)
Definition: videosource.h:48
static int get_datadirect_provider(const QString &grabber)
Definition: videosource.h:38
QString _tuner
Definition: videosource.h:1098
const CardInput & m_parent
Definition: videosource.h:774
__s32 value
Definition: videodev2.h:1042
virtual void Save(QString)
Definition: videosource.h:821
virtual void Save(QString)
Definition: videosource.h:200
const VideoSource & parent
Definition: videosource.h:153
DVB-S device tree class.
Definition: diseqc.h:75
virtual DialogCode exec(bool, bool)
Definition: videosource.h:817
virtual void Save(QString)
Definition: videosource.h:106
InputName * inputname
Definition: videosource.h:904
TransLabelSetting * info
Definition: videosource.h:620
const VideoSource & parent
Definition: videosource.h:177
UseEIT * useeit
Definition: videosource.h:191
CaptureCard & parent
Definition: videosource.h:567
static bool is_grabber_external(const QString &grabber)
Definition: videosource.h:25
QString mythdeviceid
Definition: videosource.h:418
virtual DialogCode exec(bool, bool)
Definition: videosource.h:787