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  QString GetSetClause(MSqlBindings &bindings) const override; // SimpleDBStorage
67  QString GetWhereClause(MSqlBindings &bindings) const override; // SimpleDBStorage
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  void Load(void) override; // StandardSetting
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  void Load(void) override; // StandardSetting
107 
108  void Save(void) override; // StandardSetting
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  void Load(void) override; // StandardSetting
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  void Save(void) override; // StandardSetting
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  void Save(void) override; // StandardSetting
194  virtual void Save(QString) { Save(); }
195 
196 protected:
198 };
199 
201 {
202 public:
203  explicit NoGrabber_config(const VideoSource& _parent);
204 
205  void Save(void) override; // StandardSetting
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) override // StandardSetting
222  { setValue(QString::number(value)); }
224 };
225 
226 class VideoSource : public GroupSetting {
227  Q_OBJECT
228 
229  public:
230  VideoSource();
231 
232  int getSourceID(void) const { return id->intValue(); };
233 
234  void loadByID(int id);
235 
236  static void fillSelections(GroupSetting* setting);
237  static void fillSelections(MythUIComboBoxSetting* setting);
238  static QString idToName(int id);
239 
240  QString getSourceName(void) const { return name->getValue(); };
241 
242  void Load(void) override // StandardSetting
243  {
245  }
246 
247  void Save(void) override // StandardSetting
248  {
249  if (name)
251  }
252  bool canDelete(void) override; // GroupSetting
253  void deleteEntry(void) override; // GroupSetting
254 
255  private:
256  class ID: public IdSetting
257  {
258  public:
259  ID() : IdSetting("videosource", "sourceid")
260  {
261  };
262  };
263 
265  {
266  public:
267  explicit Name(const VideoSource &parent) :
268  MythUITextEditSetting(new VideoSourceDBStorage(this, parent, "name"))
269  {
270  setLabel(QObject::tr("Video source name"));
271  }
272  };
273 
274 private:
275  ID *id;
277 };
278 
280 {
281  public:
283  const CaptureCard &_parent,
284  const QString &_name) :
285  SimpleDBStorage(_user, "capturecard", _name), m_parent(_parent)
286  {
287  }
288 
289 
290 protected:
291  int getCardID(void) const;
292  QString GetSetClause(MSqlBindings &bindings) const override; // SimpleDBStorage
293  QString GetWhereClause(MSqlBindings &bindings) const override; // SimpleDBStorage
294 private:
296 };
297 
299 {
300  public:
302  bool rw,
303  const QString &setting) :
304  MythUIComboBoxSetting(new CaptureCardDBStorage(this, parent, setting),
305  rw)
306  {
307  }
308 };
309 
311 {
312  Q_OBJECT
313  public:
314  TunerCardAudioInput(const CaptureCard &parent,
315  QString dev = QString(),
316  QString type = QString());
317 
318  public slots:
319  int fillSelections(const QString &device);
320 
321  private:
322  QString last_device;
323  QString last_cardtype;
324 };
325 
327 {
328  Q_OBJECT
329  public:
330  explicit EmptyAudioDevice(const CaptureCard &parent) :
332  "audiodevice"))
333  {
334  setVisible(false);
335  }
336 
337  void Save(void) override // StandardSetting
338  {
339  GetStorage()->SetSaveRequired();
340  setValue("");
341  GetStorage()->Save();
342  }
343  void Save(QString destination)
344  {
345  GetStorage()->SetSaveRequired();
346  setValue("");
347  GetStorage()->Save(destination);
348  }
349 };
350 
352 {
353  Q_OBJECT
354 
355  public:
356  explicit EmptyVBIDevice(const CaptureCard &parent) :
357  MythUITextEditSetting(new CaptureCardDBStorage(this, parent, "vbidevice"))
358  {
359  setVisible(false);
360  };
361 
362  void Save(void) override // StandardSetting
363  {
364  GetStorage()->SetSaveRequired();
365  setValue("");
366  GetStorage()->Save();
367  }
368  void Save(QString destination)
369  {
370  GetStorage()->SetSaveRequired();
371  setValue("");
372  GetStorage()->Save(destination);
373  }
374 };
375 
377 {
378 public:
379  explicit CardType(const CaptureCard& parent);
380  static void fillSelections(MythUIComboBoxSetting* setting);
381 };
382 
383 #ifdef USING_HDHOMERUN
384 
385 class UseHDHomeRunDevice;
387 {
388  public:
389  QString deviceid;
390  QString model;
391  QString cardip;
393 };
394 
395 typedef QMap<QString, HDHomeRunDevice> HDHomeRunDeviceList;
396 
397 class HDHomeRunDeviceID;
399 {
400  Q_OBJECT
401 
402  friend class HDHomeRunExtra;
403 
404  public:
406  void SetDeviceCheckBoxes(QString devices);
407  QString GetDeviceCheckBoxes(void);
408 
409  private:
410  void FillDeviceList(void);
411 
412  private:
416 };
417 
419 {
420  Q_OBJECT
421 
422  public:
423  HDHomeRunDeviceID(const CaptureCard &parent,
425  void Load(void) override; // StandardSetting
426  void Save(void) override; // StandardSetting
427 
428  private:
430 };
431 
432 #endif
433 
435 {
436  public:
437  QString mythdeviceid;
438  QString deviceid;
439  QString desc;
440  QString cardip;
441  QString tunerno;
442  QString tunertype;
443  bool inuse;
445 };
446 
447 typedef QMap<QString, VBoxDevice> VBoxDeviceList;
448 
449 class VBoxDeviceIDList;
450 class VBoxDeviceID;
451 class VBoxIP;
452 class VBoxTunerIndex;
454 {
455  Q_OBJECT
456 
457  public:
458  VBoxConfigurationGroup(CaptureCard &parent, CardType &cardtype);
459 
460  private:
461  void FillDeviceList(void);
462 
463  private:
471 };
472 
474 {
475  Q_OBJECT
476 
477  public:
478  V4LConfigurationGroup(CaptureCard &parent, CardType &cardtype);
479 
480  public slots:
481  void probeCard(const QString &device);
482 
483  private:
487 };
488 
489 class VideoDevice;
490 class VBIDevice;
491 
493 {
494  Q_OBJECT
495 
496  public:
497  MPEGConfigurationGroup(CaptureCard &parent, CardType &cardtype);
498 
499  public slots:
500  void probeCard(const QString &device);
501 
502  private:
507 };
508 
510 {
511  Q_OBJECT
512 
513  public:
514  HDPVRConfigurationGroup(CaptureCard &parent, CardType &cardtype);
515 
516  public slots:
517  void probeCard(const QString &device);
518 
519  private:
524 };
525 
526 class ASIDevice;
527 
529 {
530  Q_OBJECT
531 
532  public:
533  V4L2encGroup(CaptureCard& parent, CardType& cardType);
534 
535  private:
539 
540  QString m_DriverName;
541 
542  protected slots:
543  void probeCard(const QString &device);
544 };
545 
547 {
548  Q_OBJECT
549 
550  public:
551  ASIConfigurationGroup(CaptureCard &parent, CardType &cardType);
552 
553  public slots:
554  void probeCard(const QString &device);
555 
556  private:
560 };
561 
563 {
564  Q_OBJECT
565 
566  public:
567  ImportConfigurationGroup(CaptureCard &parent, CardType &cardtype);
568 
569  public slots:
570  void probeCard(const QString &device);
571 
572  private:
576 };
577 
579 {
580  Q_OBJECT
581 
582  public:
583  DemoConfigurationGroup(CaptureCard &parent, CardType &cardtype);
584 
585  public slots:
586  void probeCard(const QString &device);
587 
588  private:
592 };
593 
594 #if !defined( USING_MINGW ) && !defined( _MSC_VER )
595 class ExternalConfigurationGroup: public GroupSetting
596 {
597  Q_OBJECT
598 
599  public:
600  ExternalConfigurationGroup(CaptureCard &parent, CardType &cardtype);
601 
602  public slots:
603  void probeApp(const QString & path);
604 
605  private:
606  CaptureCard &parent;
607  TransTextEditSetting *info;
608 };
609 #endif
610 
611 class DVBCardNum;
612 class DVBCardName;
613 class DVBCardType;
614 class DVBTuningDelay;
615 
617 {
618  Q_OBJECT
619 
620  friend class DVBExtra;
621 
622  public:
623  DVBConfigurationGroup(CaptureCard& a_parent, CardType& cardType);
625 
626  void Load(void) override; // StandardSetting
627 
628  void Save(void) override; // StandardSetting
629 
630  public slots:
631  void probeCard(const QString& cardNumber);
632  void reloadDiseqcTree(const QString &device);
633 
634  private:
636 
642 #if 0
643  TransButtonSetting *buttonAnalog;
644 #endif
648 };
649 
650 class FirewireGUID;
652 {
653  Q_OBJECT
654 
655  public:
656  FirewireModel(const CaptureCard &parent, const FirewireGUID*);
657 
658  public slots:
659  void SetGUID(const QString&);
660 
661  private:
663 };
664 
666 {
667  Q_OBJECT
668 
669  public:
670  explicit FirewireDesc(const FirewireGUID *_guid) :
671  GroupSetting(), guid(_guid) { }
672 
673  public slots:
674  void SetGUID(const QString&);
675 
676  private:
678 };
679 
681 {
682  Q_OBJECT
683 public:
684  explicit CaptureCardGroup(CaptureCard& parent);
685 };
686 
687 class CaptureCard : public GroupSetting
688 {
689  Q_OBJECT
690 public:
691  explicit CaptureCard(bool use_card_group = true);
692 
693  int getCardID(void) const { return id->intValue(); }
694  QString GetRawCardType(void) const;
695 
696  void loadByID(int id);
697 
698  static void fillSelections(GroupSetting* setting);
699 
700  void reload(void);
701 
702  void Save(void) override; // StandardSetting
703 
704  bool canDelete(void) override; // GroupSetting
705  void deleteEntry(void) override; // GroupSetting
706 
707 private:
708 
709  class ID: public IdSetting {
710  public:
711  ID():
712  IdSetting("capturecard", "cardid")
713  {
714  }
715  };
716 
717  class Hostname : public StandardSetting
718  {
719  public:
720  explicit Hostname(const CaptureCard &parent) :
721  StandardSetting(new CaptureCardDBStorage(this, parent, "hostname"))
722  {
723  setVisible(false);
724  setValue(gCoreContext->GetHostName());
725  }
726  void edit(MythScreenType *) override {} // StandardSetting
727  void resultEdit(DialogCompletionEvent *) override {} // StandardSetting
728  };
729 
730 private:
731  ID *id;
732 };
733 
735 {
736  public:
738  const CardInput &_parent,
739  QString _name) :
740  SimpleDBStorage(_user, "capturecard", _name), m_parent(_parent)
741  {
742  }
743 
744  int getInputID(void) const;
745 
746  protected:
747  void fillSelections();
748 
749  QString GetSetClause(MSqlBindings &bindings) const override; // SimpleDBStorage
750  QString GetWhereClause(MSqlBindings &bindings) const override; // SimpleDBStorage
751 
752  private:
754 };
755 
757 {
758  Q_OBJECT
759 
760  public:
761  CaptureCardButton(const QString &label, const QString &value)
762  : ButtonStandardSetting(label),
763  m_value(value)
764  {
765  }
766 
767  void edit(MythScreenType *screen) override; // ButtonStandardSetting
768 
769  signals:
770  void Clicked(const QString &choice);
771 
772  private:
773  QString m_value;
774 };
775 
777 {
778  Q_OBJECT
779 
780  public:
782 
783  void Load(void) override; // StandardSetting
784 
785  void AddSelection(const QString &label, const char *slot);
786 
787  public slots:
788  void ShowDeleteAllCaptureCardsDialog(void);
789  void ShowDeleteAllCaptureCardsDialogOnHost(void);
790  void DeleteAllCaptureCards(bool);
791  void DeleteAllCaptureCardsOnHost(bool);
792  void AddNewCard(void);
793 };
794 
796 {
797  Q_OBJECT
798 
799  public:
801 
802  bool cardTypesInclude(const int& SourceID,
803  const QString& thecardtype);
804 
805  void Load(void) override; // StandardSetting
806  void AddSelection(const QString &label, const char *slot);
807 
808  public slots:
809  void NewSource(void);
810  void ShowDeleteAllSourcesDialog(void);
811  void DeleteAllSources(bool);
812 };
813 
815 {
816  Q_OBJECT
817 
818  public:
819  CardInputEditor();
820 
821  void Load(void) override; // StandardSetting
822 
823  private:
824  vector<CardInput*> cardinputs;
825 };
826 
828 {
829  Q_OBJECT
830  public:
831  explicit StartingChannel(const CardInput &parent) :
832  MythUIComboBoxSetting(new CardInputDBStorage(this, parent, "startchan"),
833  false)
834  {
835  setLabel(QObject::tr("Starting channel"));
836  setHelpText(QObject::tr("Starting Live TV channel.") + " " +
837  QObject::tr("This is updated on every successful "
838  "channel change."));
839  }
840  void fillSelections(void) {;}
841  public slots:
842  void SetSourceID(const QString &sourceid);
843 };
844 
845 class CardInput : public GroupSetting
846 {
847  Q_OBJECT
848  public:
849  CardInput(const QString & cardtype, const QString & device,
850  int cardid);
851  ~CardInput();
852 
853  int getInputID(void) const { return id->intValue(); };
854 
855  void loadByID(int id);
856  void loadByInput(int cardid, QString input);
857  QString getSourceName(void) const;
858 
859  void Save(void) override; // StandardSetting
860 
861  public slots:
862  void CreateNewInputGroup();
863  void channelScanner();
864  void sourceFetch();
865  void SetSourceID(const QString &sourceid);
866  void CreateNewInputGroupSlot(const QString &name);
867 
868  private:
869  class ID: public IdSetting
870  {
871  public:
872  ID() : IdSetting("capturecard", "cardid")
873  {
874  }
875  };
876 
877  ID *id;
888 };
889 
891 class VBoxDeviceID;
892 class VBoxTunerIndex;
893 
895 {
896  Q_OBJECT
897 
898  public:
899  VBoxIP();
900 
901  void setEnabled(bool e) override; // StandardSetting
902  void SetOldValue(const QString &s)
903  { _oldValue = s; };
904 
905  signals:
906  void NewIP(const QString&);
907 
908  public slots:
909  void UpdateDevices(const QString&);
910 
911  private:
912  QString _oldValue;
913 };
914 
916 {
917  Q_OBJECT
918 
919  public:
920  VBoxTunerIndex();
921 
922  void setEnabled(bool e) override; // StandardSetting
923  void SetOldValue(const QString &s)
924  { _oldValue = s; };
925 
926  signals:
927  void NewTuner(const QString&);
928 
929  public slots:
930  void UpdateDevices(const QString&);
931 
932  private:
933  QString _oldValue;
934 };
935 
937 {
938  Q_OBJECT
939 
940  public:
941  VBoxDeviceIDList(VBoxDeviceID *deviceid,
942  StandardSetting *desc,
943  VBoxIP *cardip,
944  VBoxTunerIndex *cardtuner,
945  VBoxDeviceList *devicelist,
946  const CaptureCard &parent);
947 
948  void fillSelections(const QString &current);
949 
950  void Load(void) override; // StandardSetting
951 
952  public slots:
953  void UpdateDevices(const QString&);
954 
955  private:
962 
963  QString _oldValue;
964 };
965 
967 {
968  Q_OBJECT
969 
970  public:
971  explicit VBoxDeviceID(const CaptureCard &parent);
972 
973  void Load(void) override; // StandardSetting
974 
975  public slots:
976  void SetIP(const QString&);
977  void SetTuner(const QString&);
978  void SetOverrideDeviceID(const QString&);
979 
980  private:
981  QString _ip;
982  QString _tuner;
984 };
985 
987 {
988  Q_OBJECT
989 
990  public:
991  CetonSetting(const char* label, const char* helptext);
992 
993  signals:
994  void NewValue(const QString&);
995 
996  public slots:
997  void UpdateDevices(const QString&);
998  void LoadValue(const QString&);
999 };
1000 
1002 {
1003  Q_OBJECT
1004 
1005  public:
1006  explicit CetonDeviceID(const CaptureCard &parent);
1007 
1008  void Load(void) override; // StandardSetting
1009  void UpdateValues();
1010 
1011  signals:
1012  void LoadedIP(const QString&);
1013  void LoadedCard(const QString&);
1014  void LoadedTuner(const QString&);
1015 
1016  public slots:
1017  void SetIP(const QString&);
1018  void SetTuner(const QString&);
1019 
1020  private:
1021  QString _ip;
1022  QString _card;
1023  QString _tuner;
1025 };
1026 
1027 #endif
TransTextEditSetting * cardinfo
Definition: videosource.h:559
QStringList grabberArgs
Definition: videosource.h:185
DiSEqCDevSettings * externalInputSettings
Definition: videosource.h:883
vector< CardInput * > cardinputs
Definition: videosource.h:824
DataDirectLineupSelector(const VideoSource &parent)
Definition: videosource.h:123
unsigned int slots[4]
Definition: element.c:38
QString getSourceName(void) const
Definition: videosource.h:240
DVB-S device settings class.
Definition: diseqc.h:35
QString _tuner
Definition: videosource.h:1023
const CaptureCard & _parent
Definition: videosource.h:1024
CaptureCardDBStorage(StorageUser *_user, const CaptureCard &_parent, const QString &_name)
Definition: videosource.h:282
CaptureCardComboBoxSetting(const CaptureCard &parent, bool rw, const QString &setting)
Definition: videosource.h:301
QString cardip
Definition: videosource.h:440
UseHDHomeRunDevice * checkbox
Definition: videosource.h:392
void resultEdit(DialogCompletionEvent *) override
Definition: videosource.h:727
VBoxDeviceIDList * deviceidlist
Definition: videosource.h:466
virtual void Load(void)
const CaptureCard & m_parent
Definition: videosource.h:961
QString lastloadedpassword
Definition: videosource.h:164
VBoxIP * _cardip
Definition: videosource.h:958
QString deviceid
Definition: videosource.h:438
HDHomeRunConfigurationGroup & group
Definition: videosource.h:429
CaptureCard & parent
Definition: videosource.h:464
TransTextEditSetting * cardinfo
Definition: videosource.h:485
void Save(QString destination)
Definition: videosource.h:368
void Save(void) override
Definition: videosource.h:362
const FirewireGUID * guid
Definition: videosource.h:677
ChannelTimeout * channel_timeout
Definition: videosource.h:641
unsigned int uint
Definition: compat.h:140
MythCoreContext * gCoreContext
This global variable contains the MythCoreContext instance for the app.
int getCardID(void) const
Definition: videosource.h:693
SourceID * sourceid
Definition: videosource.h:879
QString lastloadeduserid
Definition: videosource.h:163
GroupSetting * cardinfo
Definition: videosource.h:521
CardInputDBStorage(StorageUser *_user, const CardInput &_parent, QString _name)
Definition: videosource.h:737
DataDirectPassword * password
Definition: videosource.h:160
VBoxTunerIndex * cardtuner
Definition: videosource.h:469
HDHomeRunDeviceList devicelist
Definition: videosource.h:415
StartingChannel(const CardInput &parent)
Definition: videosource.h:831
QMap< QString, VBoxDevice > VBoxDeviceList
Definition: videosource.h:447
CaptureCard & parent
Definition: videosource.h:484
InputGroup * inputgrp0
Definition: videosource.h:884
QString getLineupID(void) const
Definition: videosource.h:152
QMap< QString, HDHomeRunDevice > HDHomeRunDeviceList
Definition: videosource.h:395
CaptureCard & parent
Definition: videosource.h:635
Hostname(const CaptureCard &parent)
Definition: videosource.h:720
QString _oldValue
Definition: videosource.h:933
QString deviceid
Definition: videosource.h:389
const CaptureCard & m_parent
Definition: videosource.h:295
MythUICheckBoxSetting * schedgroup
Definition: videosource.h:887
VBoxTunerIndex * _cardtuner
Definition: videosource.h:959
DataDirectLineupSelector * lineupselector
Definition: videosource.h:162
TransTextEditSetting * m_cardinfo
Definition: videosource.h:537
const FirewireGUID * guid
Definition: videosource.h:662
void edit(MythScreenType *) override
Definition: videosource.h:726
FirewireDesc(const FirewireGUID *_guid)
Definition: videosource.h:670
VERBOSE_PREAMBLE false
Definition: verbosedefs.h:85
ButtonStandardSetting * srcfetch
Definition: videosource.h:882
#define MTV_PUBLIC
Definition: mythtvexp.h:15
TunerCardAudioInput * audioinput
Definition: videosource.h:522
uint GetSourceID(void) const
Definition: videosource.h:83
void SetOldValue(const QString &s)
Definition: videosource.h:902
DeviceTree * diseqc_btn
Definition: videosource.h:647
QDateTime current(bool stripped)
Returns current Date and Time in UTC.
Definition: mythdate.cpp:10
CaptureCard & parent
Definition: videosource.h:503
static bool is_grabber_datadirect(const QString &grabber)
Definition: videosource.h:35
TransTextEditSetting * size
Definition: videosource.h:575
void fillSelections(void)
Definition: videosource.h:840
QString tunertype
Definition: videosource.h:442
DataDirectButton * button
Definition: videosource.h:161
VBoxDeviceID * _deviceid
Definition: videosource.h:956
void Load(void) override
Definition: videosource.h:242
bool discovered
Definition: videosource.h:444
CaptureCard & parent
Definition: videosource.h:520
Name * name
Definition: videosource.h:276
QString _overridedeviceid
Definition: videosource.h:983
SignalTimeout * signal_timeout
Definition: videosource.h:640
const char * name
Definition: ParseText.cpp:339
QString _oldValue
Definition: videosource.h:912
DVBCardName * cardname
Definition: videosource.h:638
TransTextEditSetting * info
Definition: videosource.h:574
CaptureCard & m_parent
Definition: videosource.h:536
const VideoSource & m_parent
Definition: videosource.h:69
virtual void Save(void)
HDHomeRunDeviceID * deviceid
Definition: videosource.h:414
TransTextEditSetting * cardinfo
Definition: videosource.h:506
DataDirectUserID * userid
Definition: videosource.h:159
InputGroup * inputgrp1
Definition: videosource.h:885
void Save(QString destination)
Definition: videosource.h:343
DiSEqCDevTree * diseqc_tree
Definition: videosource.h:646
QString tunerno
Definition: videosource.h:441
StandardSetting * desc
Definition: videosource.h:465
VideoDevice * device
Definition: videosource.h:504
CaptureCard & parent
Definition: videosource.h:589
StandardSetting * _desc
Definition: videosource.h:957
VBoxDeviceID * deviceid
Definition: videosource.h:467
int intValue()
Definition: videosource.h:220
void SetOldValue(const QString &s)
Definition: videosource.h:923
virtual void Save(QString)
Definition: videosource.h:177
QString m_DriverName
Definition: videosource.h:540
void setValue(int value) override
Definition: videosource.h:221
VBoxDeviceList devicelist
Definition: videosource.h:470
CaptureCardButton(const QString &label, const QString &value)
Definition: videosource.h:761
StartingChannel * startchan
Definition: videosource.h:880
EmptyVBIDevice(const CaptureCard &parent)
Definition: videosource.h:356
TransTextEditSetting * size
Definition: videosource.h:591
VideoDevice * m_device
Definition: videosource.h:538
VideoSourceDBStorage(StorageUser *_user, const VideoSource &_parent, const QString &name)
Definition: videosource.h:58
DVBCardNum * cardnum
Definition: videosource.h:637
virtual void Save(QString)
Definition: videosource.h:194
VBoxDeviceList * _devicelist
Definition: videosource.h:960
Name(const VideoSource &parent)
Definition: videosource.h:267
DVBCardType * cardtype
Definition: videosource.h:639
QString _ip
Definition: videosource.h:981
TransTextEditSetting * info
Definition: videosource.h:590
EmptyAudioDevice(const CaptureCard &parent)
Definition: videosource.h:330
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:232
ButtonStandardSetting * scan
Definition: videosource.h:881
Screen in which all other widgets are contained and rendered.
DVBTuningDelay * tuning_delay
Definition: videosource.h:645
QString desc
Definition: videosource.h:439
static bool is_grabber_labs(const QString &grabber)
Definition: videosource.h:50
static int get_datadirect_provider(const QString &grabber)
Definition: videosource.h:40
QString GetHostName(void)
void Save(void) override
Definition: videosource.h:337
Event dispatched from MythUI modal dialogs to a listening class containing a result of some form.
Definition: mythdialogbox.h:37
QString _tuner
Definition: videosource.h:982
void Save(void) override
Definition: videosource.h:247
IdSetting(const QString &table, const QString &setting)
Definition: videosource.h:214
const CardInput & m_parent
Definition: videosource.h:753
virtual void Save(QString)
Definition: videosource.h:206
const VideoSource & parent
Definition: videosource.h:158
DVB-S device tree class.
Definition: diseqc.h:73
virtual void Save(QString)
Definition: videosource.h:109
virtual void setValue(const QString &newValue)
InputName * inputname
Definition: videosource.h:878
MythUISpinBoxSetting * instancecount
Definition: videosource.h:886
const VideoSource & parent
Definition: videosource.h:183
UseEIT * useeit
Definition: videosource.h:197
CaptureCard & parent
Definition: videosource.h:557
static bool is_grabber_external(const QString &grabber)
Definition: videosource.h:27
QString mythdeviceid
Definition: videosource.h:437
int getInputID(void) const
Definition: videosource.h:853