MythTV  master
videosource.h
Go to the documentation of this file.
1 #ifndef VIDEOSOURCE_H
2 #define VIDEOSOURCE_H
3 
4 #include <utility>
5 #include <vector>
6 using namespace std;
7 
8 // MythTV headers
9 #include "mthread.h"
10 #include "standardsettings.h"
11 #include "mythcontext.h"
12 #include "mythtvexp.h"
13 
14 class SignalTimeout;
15 class ChannelTimeout;
16 class UseEIT;
17 class VideoSource;
18 class CaptureCard;
19 class VBIDevice;
20 class CardInput;
21 class CardID;
22 class InputName;
23 class SourceID;
24 class DeviceTree;
25 class DiSEqCDevTree;
26 class DiSEqCDevSettings;
27 class InputGroup;
28 
29 static inline bool is_grabber_external(const QString &grabber)
30 {
31  return !(grabber == "eitonly" ||
32  grabber == "/bin/true");
33 }
34 
35 static inline bool is_grabber_labs(const QString &grabber)
36 {
37  Q_UNUSED(grabber);
38  return false;
39 }
40 
42 {
43  public:
45  const VideoSource &_parent,
46  const QString &name) :
47  SimpleDBStorage(_user, "videosource", name), m_parent(_parent)
48  {
49  }
50 
51  protected:
52  QString GetSetClause(MSqlBindings &bindings) const override; // SimpleDBStorage
53  QString GetWhereClause(MSqlBindings &bindings) const override; // SimpleDBStorage
54 
56 };
57 
59 {
60  Q_OBJECT
61 
62  public:
63  VideoSourceSelector(uint _initial_sourceid,
64  QString _card_types,
65  bool _must_have_mplexid);
66 
67  void Load(void) override; // StandardSetting
68 
69  uint GetSourceID(void) const { return getValue().toUInt(); }
70 
71  private:
73  QString m_cardTypes;
75 };
76 
78 {
79  Q_OBJECT
80 
81  public:
82  explicit VideoSourceShow(uint _initial_sourceid);
83 
84  void Load(void) override; // StandardSetting
85 
86  uint GetSourceID(void) const { return getValue().toUInt(); }
87 
88  private:
90 };
91 
94 {
95  Q_OBJECT
96 public:
97  explicit FreqTableSelector(const VideoSource& parent);
98 protected:
99  QString m_freq;
100 };
101 
103 {
104  public:
105  explicit TransFreqTableSelector(uint _sourceid);
106 
107  void Load(void) override; // StandardSetting
108 
109  void Save(void) override; // StandardSetting
110  virtual void Save(const QString& /*destination*/) { Save(); }
111 
112  void SetSourceID(uint _sourceid);
113 
114  private:
117 };
118 
120 {
121  Q_OBJECT
122 
123  public:
124  XMLTV_generic_config(const VideoSource& _parent, const QString& _grabber,
125  StandardSetting *_setting);
126 
127  void Save(void) override; // StandardSetting
128  virtual void Save(const QString& /*destination*/) { Save(); }
129 
130  public slots:
131  void RunConfig(void);
132 
133  protected:
135  QString m_grabber;
136  QStringList m_grabberArgs;
137 };
138 
140 {
141 public:
142  EITOnly_config(const VideoSource& _parent, StandardSetting *_setting);
143 
144  void Save(void) override; // StandardSetting
145  virtual void Save(const QString& /*destination*/) { Save(); }
146 
147 protected:
148  UseEIT *m_useEit {nullptr};
149 };
150 
152 {
153 public:
154  explicit NoGrabber_config(const VideoSource& _parent);
155 
156  void Save(void) override; // StandardSetting
157  virtual void Save(const QString& /*destination*/) { Save(); }
158 
159 protected:
160  UseEIT *m_useEit {nullptr};
161 };
162 
164 public:
165  IdSetting(const QString &table, const QString &setting):
166  AutoIncrementSetting(table, setting)
167  {
168  setVisible(false);
169  }
170 
171  int intValue() { return getValue().toInt(); }
172  void setValue(int value) override // StandardSetting
173  { setValue(QString::number(value)); }
175 };
176 
177 class VideoSource : public GroupSetting {
178  Q_OBJECT
179 
180  public:
181  VideoSource();
182 
183  int getSourceID(void) const { return m_id->intValue(); };
184 
185  void loadByID(int id);
186 
187  static void fillSelections(GroupSetting* setting);
188  static void fillSelections(MythUIComboBoxSetting* setting);
189  static QString idToName(int id);
190 
191  QString getSourceName(void) const { return m_name->getValue(); };
192 
193  void Load(void) override // StandardSetting
194  {
196  }
197 
198  void Save(void) override // StandardSetting
199  {
200  if (m_name)
202  }
203  bool canDelete(void) override; // GroupSetting
204  void deleteEntry(void) override; // GroupSetting
205 
206  private:
207  class ID: public IdSetting
208  {
209  public:
210  ID() : IdSetting("videosource", "sourceid")
211  {
212  };
213  };
214 
216  {
217  public:
218  explicit Name(const VideoSource &parent) :
219  MythUITextEditSetting(new VideoSourceDBStorage(this, parent, "name"))
220  {
221  setLabel(QObject::tr("Video source name"));
222  }
223  };
224 
225 private:
226  ID *m_id {nullptr};
227  Name *m_name {nullptr};
228 };
229 
231 {
232  public:
234  const CaptureCard &_parent,
235  const QString &_name) :
236  SimpleDBStorage(_user, "capturecard", _name), m_parent(_parent)
237  {
238  }
239 
240 
241 protected:
242  int getCardID(void) const;
243  QString GetSetClause(MSqlBindings &bindings) const override; // SimpleDBStorage
244  QString GetWhereClause(MSqlBindings &bindings) const override; // SimpleDBStorage
245 private:
247 };
248 
250 {
251  public:
253  bool rw,
254  const QString &setting) :
255  MythUIComboBoxSetting(new CaptureCardDBStorage(this, parent, setting),
256  rw)
257  {
258  }
259 };
260 
262 {
263  Q_OBJECT
264  public:
265  explicit TunerCardAudioInput(const CaptureCard &parent,
266  QString dev = QString(),
267  QString type = QString());
268 
269  public slots:
270  int fillSelections(const QString &device);
271 
272  private:
273  QString m_lastDevice;
274  QString m_lastCardType;
275 };
276 
278 {
279  Q_OBJECT
280  public:
281  explicit EmptyAudioDevice(const CaptureCard &parent) :
283  "audiodevice"))
284  {
285  setVisible(false);
286  }
287 
288  void Save(void) override // StandardSetting
289  {
290  GetStorage()->SetSaveRequired();
291  setValue("");
292  GetStorage()->Save();
293  }
294  void Save(const QString& destination)
295  {
296  GetStorage()->SetSaveRequired();
297  setValue("");
298  GetStorage()->Save(destination);
299  }
300 };
301 
303 {
304  Q_OBJECT
305 
306  public:
307  explicit EmptyVBIDevice(const CaptureCard &parent) :
308  MythUITextEditSetting(new CaptureCardDBStorage(this, parent, "vbidevice"))
309  {
310  setVisible(false);
311  };
312 
313  void Save(void) override // StandardSetting
314  {
315  GetStorage()->SetSaveRequired();
316  setValue("");
317  GetStorage()->Save();
318  }
319  void Save(const QString& destination)
320  {
321  GetStorage()->SetSaveRequired();
322  setValue("");
323  GetStorage()->Save(destination);
324  }
325 };
326 
328 {
329 public:
330  explicit CardType(const CaptureCard& parent);
331  static void fillSelections(MythUIComboBoxSetting* setting);
332 };
333 
334 #ifdef USING_HDHOMERUN
335 
336 class UseHDHomeRunDevice;
338 {
339  public:
340  QString m_deviceId;
341  QString m_model;
342  QString m_cardIp;
343  UseHDHomeRunDevice *m_checkbox {nullptr};
344 };
345 
346 using HDHomeRunDeviceList = QMap<QString, HDHomeRunDevice>;
347 
348 class HDHomeRunDeviceID;
350 {
351  Q_OBJECT
352 
353  friend class HDHomeRunExtra;
354 
355  public:
357  void SetDeviceCheckBoxes(const QString& devices);
358  QString GetDeviceCheckBoxes(void);
359 
360  private:
361  void FillDeviceList(void);
362 
363  private:
365  HDHomeRunDeviceID *m_deviceId {nullptr};
367 };
368 
370 {
371  Q_OBJECT
372 
373  public:
374  HDHomeRunDeviceID(const CaptureCard &parent,
376  void Load(void) override; // StandardSetting
377  void Save(void) override; // StandardSetting
378 
379  private:
381 };
382 
383 #endif
384 
386 {
387  public:
388  QString m_mythDeviceId;
389  QString m_deviceId;
390  QString m_desc;
391  QString m_cardIp;
392  QString m_tunerNo;
393  QString m_tunerType;
394  bool m_inUse {false};
395  bool m_discovered {false};
396 };
397 
398 using VBoxDeviceList = QMap<QString, VBoxDevice>;
399 
400 class VBoxDeviceIDList;
401 class VBoxDeviceID;
402 class VBoxIP;
403 class VBoxTunerIndex;
405 {
406  Q_OBJECT
407 
408  public:
409  VBoxConfigurationGroup(CaptureCard &parent, CardType &cardtype);
410 
411  private:
412  void FillDeviceList(void);
413 
414  private:
416  StandardSetting *m_desc {nullptr};
417  VBoxDeviceIDList *m_deviceIdList {nullptr};
418  VBoxDeviceID *m_deviceId {nullptr};
419  VBoxIP *m_cardIp {nullptr};
420  VBoxTunerIndex *m_cardTuner {nullptr};
422 };
423 
425 {
426  Q_OBJECT
427 
428  public:
429  V4LConfigurationGroup(CaptureCard &parent, CardType &cardtype);
430 
431  public slots:
432  void probeCard(const QString &device);
433 
434  private:
436  TransTextEditSetting *m_cardInfo {nullptr};
437  VBIDevice *m_vbiDev {nullptr};
438 };
439 
440 class VideoDevice;
441 class VBIDevice;
442 
444 {
445  Q_OBJECT
446 
447  public:
448  MPEGConfigurationGroup(CaptureCard &parent, CardType &cardtype);
449 
450  public slots:
451  void probeCard(const QString &device);
452 
453  private:
455  VideoDevice *m_device {nullptr};
456  VBIDevice *m_vbiDevice {nullptr};
457  TransTextEditSetting *m_cardInfo {nullptr};
458 };
459 
461 {
462  Q_OBJECT
463 
464  public:
465  HDPVRConfigurationGroup(CaptureCard &parent, CardType &cardtype);
466 
467  public slots:
468  void probeCard(const QString &device);
469 
470  private:
472  GroupSetting *m_cardInfo {nullptr};
473  TunerCardAudioInput *m_audioInput {nullptr};
474  VBIDevice *m_vbiDevice {nullptr};
475 };
476 
477 class ASIDevice;
478 
480 {
481  Q_OBJECT
482 
483  public:
484  V4L2encGroup(CaptureCard& parent, CardType& cardType);
485 
486  private:
488  TransTextEditSetting *m_cardInfo {nullptr};
489  VideoDevice *m_device {nullptr};
490 
491  QString m_driverName;
492 
493  protected slots:
494  void probeCard(const QString &device);
495 };
496 
498 {
499  Q_OBJECT
500 
501  public:
502  ASIConfigurationGroup(CaptureCard &parent, CardType &cardType);
503 
504  public slots:
505  void probeCard(const QString &device);
506 
507  private:
509  ASIDevice *m_device {nullptr};
510  TransTextEditSetting *m_cardInfo {nullptr};
511 };
512 
514 {
515  Q_OBJECT
516 
517  public:
518  ImportConfigurationGroup(CaptureCard &parent, CardType &cardtype);
519 
520  public slots:
521  void probeCard(const QString &device);
522 
523  private:
525  GroupSetting *m_info {nullptr};
526  GroupSetting *m_size {nullptr};
527 };
528 
530 {
531  Q_OBJECT
532 
533  public:
534  DemoConfigurationGroup(CaptureCard &parent, CardType &cardtype);
535 
536  public slots:
537  void probeCard(const QString &device);
538 
539  private:
541  GroupSetting *m_info {nullptr};
542  GroupSetting *m_size {nullptr};
543 };
544 
545 #if !defined( USING_MINGW ) && !defined( _MSC_VER )
546 class ExternalConfigurationGroup: public GroupSetting
547 {
548  Q_OBJECT
549 
550  public:
551  ExternalConfigurationGroup(CaptureCard &parent, CardType &cardtype);
552 
553  public slots:
554  void probeApp(const QString & path);
555 
556  private:
557  CaptureCard &m_parent;
558  GroupSetting *m_info {nullptr};
559 };
560 #endif
561 
562 class DVBCardNum;
563 class DVBCardName;
564 class DVBCardType;
565 class DVBTuningDelay;
566 
568 {
569  Q_OBJECT
570 
571  friend class DVBExtra;
572 
573  public:
574  DVBConfigurationGroup(CaptureCard& a_parent, CardType& cardType);
575  ~DVBConfigurationGroup() override;
576 
577  void Load(void) override; // StandardSetting
578 
579  void Save(void) override; // StandardSetting
580 
581  public slots:
582  void probeCard(const QString& videodevice);
583  void reloadDiseqcTree(const QString &device);
584 
585  private:
587 
588  DVBCardNum *m_cardNum {nullptr};
589  DVBCardName *m_cardName {nullptr};
590  DVBCardType *m_cardType {nullptr};
591  SignalTimeout *m_signalTimeout {nullptr};
592  ChannelTimeout *m_channelTimeout {nullptr};
593 #if 0
594  TransButtonSetting *m_buttonAnalog {nullptr};
595 #endif
596  DVBTuningDelay *m_tuningDelay {nullptr};
597  DiSEqCDevTree *m_diseqcTree {nullptr};
598  DeviceTree *m_diseqcBtn {nullptr};
599 };
600 
601 class FirewireGUID;
603 {
604  Q_OBJECT
605 
606  public:
607  FirewireModel(const CaptureCard &parent, const FirewireGUID *_guid);
608 
609  public slots:
610  void SetGUID(const QString &_guid);
611 
612  private:
613  const FirewireGUID *m_guid {nullptr};
614 };
615 
617 {
618  Q_OBJECT
619 
620  public:
621  explicit FirewireDesc(const FirewireGUID *_guid) :
622  m_guid(_guid) { }
623 
624  public slots:
625  void SetGUID(const QString &_guid);
626 
627  private:
628  const FirewireGUID *m_guid {nullptr};
629 };
630 
632 {
633  Q_OBJECT
634 public:
635  explicit CaptureCardGroup(CaptureCard& parent);
636 };
637 
638 class CaptureCard : public GroupSetting
639 {
640  Q_OBJECT
641 public:
642  explicit CaptureCard(bool use_card_group = true);
643 
644  int getCardID(void) const { return m_id->intValue(); }
645  QString GetRawCardType(void) const;
646 
647  void loadByID(int id);
648 
649  static void fillSelections(GroupSetting* setting);
650 
651  void reload(void);
652 
653  void Save(void) override; // StandardSetting
654 
655  bool canDelete(void) override; // GroupSetting
656  void deleteEntry(void) override; // GroupSetting
657 
658 private:
659 
660  class ID: public IdSetting {
661  public:
662  ID():
663  IdSetting("capturecard", "cardid")
664  {
665  }
666  };
667 
668  class Hostname : public StandardSetting
669  {
670  public:
671  explicit Hostname(const CaptureCard &parent) :
672  StandardSetting(new CaptureCardDBStorage(this, parent, "hostname"))
673  {
674  setVisible(false);
675  setValue(gCoreContext->GetHostName());
676  }
677  void edit(MythScreenType */*screen*/) override {} // StandardSetting
678  void resultEdit(DialogCompletionEvent */*dce*/) override {} // StandardSetting
679  };
680 
681 private:
682  ID *m_id {nullptr};
683 };
684 
686 {
687  public:
689  const CardInput &_parent,
690  const QString& _name) :
691  SimpleDBStorage(_user, "capturecard", _name), m_parent(_parent)
692  {
693  }
694 
695  int getInputID(void) const;
696 
697  protected:
698  void fillSelections();
699 
700  QString GetSetClause(MSqlBindings &bindings) const override; // SimpleDBStorage
701  QString GetWhereClause(MSqlBindings &bindings) const override; // SimpleDBStorage
702 
703  private:
705 };
706 
708 {
709  Q_OBJECT
710 
711  public:
712  CaptureCardButton(const QString &label, QString value)
713  : ButtonStandardSetting(label),
714  m_value(std::move(value))
715  {
716  }
717 
718  void edit(MythScreenType *screen) override; // ButtonStandardSetting
719 
720  signals:
721  void Clicked(const QString &choice);
722 
723  private:
724  QString m_value;
725 };
726 
728 {
729  Q_OBJECT
730 
731  public:
733 
734  void Load(void) override; // StandardSetting
735 
736  void AddSelection(const QString &label, const char *slot);
737 
738  public slots:
739  void ShowDeleteAllCaptureCardsDialog(void);
740  void ShowDeleteAllCaptureCardsDialogOnHost(void);
741  void DeleteAllCaptureCards(bool doDelete);
742  void DeleteAllCaptureCardsOnHost(bool doDelete);
743  void AddNewCard(void);
744 };
745 
747 {
748  Q_OBJECT
749 
750  public:
752 
753  static bool cardTypesInclude(const int& SourceID,
754  const QString& thecardtype);
755 
756  void Load(void) override; // StandardSetting
757  void AddSelection(const QString &label, const char *slot);
758 
759  public slots:
760  void NewSource(void);
761  void ShowDeleteAllSourcesDialog(void);
762  void DeleteAllSources(bool doDelete);
763 };
764 
766 {
767  Q_OBJECT
768 
769  public:
770  CardInputEditor();
771 
772  void Load(void) override; // StandardSetting
773 
774  private:
775  vector<CardInput*> m_cardInputs;
776 };
777 
779 {
780  Q_OBJECT
781  public:
782  explicit StartingChannel(const CardInput &parent) :
783  MythUIComboBoxSetting(new CardInputDBStorage(this, parent, "startchan"),
784  false)
785  {
786  setLabel(QObject::tr("Starting channel"));
787  setHelpText(QObject::tr("Starting Live TV channel.") + " " +
788  QObject::tr("This is updated on every successful "
789  "channel change."));
790  }
791  static void fillSelections(void) {;}
792  public slots:
793  void SetSourceID(const QString &sourceid);
794 };
795 
796 class CardInput : public GroupSetting
797 {
798  Q_OBJECT
799  public:
800  CardInput(const QString & cardtype, const QString & device,
801  int cardid);
802  ~CardInput() override;
803 
804  int getInputID(void) const { return m_id->intValue(); };
805 
806  void loadByID(int id);
807  void loadByInput(int cardid, const QString& inputname);
808  QString getSourceName(void) const;
809 
810  void Save(void) override; // StandardSetting
811 
812  public slots:
813  void CreateNewInputGroup();
814  void channelScanner();
815  void sourceFetch();
816  void SetSourceID(const QString &sourceid);
817  void CreateNewInputGroupSlot(const QString &name);
818 
819  private:
820  class ID: public IdSetting
821  {
822  public:
823  ID() : IdSetting("capturecard", "cardid")
824  {
825  }
826  };
827 
828  ID *m_id {nullptr};
829  InputName *m_inputName {nullptr};
830  SourceID *m_sourceId {nullptr};
831  StartingChannel *m_startChan {nullptr};
832  ButtonStandardSetting *m_scan {nullptr};
833  ButtonStandardSetting *m_srcFetch {nullptr};
834  DiSEqCDevSettings *m_externalInputSettings {nullptr};
835  InputGroup *m_inputGrp0 {nullptr};
836  InputGroup *m_inputGrp1 {nullptr};
837  MythUISpinBoxSetting *m_instanceCount {nullptr};
838  MythUICheckBoxSetting *m_schedGroup {nullptr};
839 };
840 
842 class VBoxDeviceID;
843 class VBoxTunerIndex;
844 
846 {
847  Q_OBJECT
848 
849  public:
850  VBoxIP();
851 
852  void setEnabled(bool e) override; // StandardSetting
853  void SetOldValue(const QString &s)
854  { m_oldValue = s; };
855 
856  signals:
857  void NewIP(const QString&);
858 
859  public slots:
860  void UpdateDevices(const QString &v);
861 
862  private:
863  QString m_oldValue;
864 };
865 
867 {
868  Q_OBJECT
869 
870  public:
871  VBoxTunerIndex();
872 
873  void setEnabled(bool e) override; // StandardSetting
874  void SetOldValue(const QString &s)
875  { m_oldValue = s; };
876 
877  signals:
878  void NewTuner(const QString&);
879 
880  public slots:
881  void UpdateDevices(const QString &v);
882 
883  private:
884  QString m_oldValue;
885 };
886 
888 {
889  Q_OBJECT
890 
891  public:
892  VBoxDeviceIDList(VBoxDeviceID *deviceid,
893  StandardSetting *desc,
894  VBoxIP *cardip,
895  VBoxTunerIndex *cardtuner,
896  VBoxDeviceList *devicelist,
897  const CaptureCard &parent);
898 
899  void fillSelections(const QString &current);
900 
901  void Load(void) override; // StandardSetting
902 
903  public slots:
904  void UpdateDevices(const QString &v);
905 
906  private:
913 
914  QString m_oldValue;
915 };
916 
918 {
919  Q_OBJECT
920 
921  public:
922  explicit VBoxDeviceID(const CaptureCard &parent);
923 
924  void Load(void) override; // StandardSetting
925 
926  public slots:
927  void SetIP(const QString &ip);
928  void SetTuner(const QString &tuner);
929  void SetOverrideDeviceID(const QString &deviceid);
930 
931  private:
932  QString m_ip;
933  QString m_tuner;
935 };
936 
938 {
939  Q_OBJECT
940 
941  public:
942  CetonSetting(const char* label, const char* helptext);
943 
944  signals:
945  void NewValue(const QString&);
946 
947  public slots:
948  void UpdateDevices(const QString &v);
949  void LoadValue(const QString &value);
950 };
951 
953 {
954  Q_OBJECT
955 
956  public:
957  explicit CetonDeviceID(const CaptureCard &parent);
958 
959  void Load(void) override; // StandardSetting
960  void UpdateValues();
961 
962  signals:
963  void LoadedIP(const QString&);
964  void LoadedCard(const QString&);
965  void LoadedTuner(const QString&);
966 
967  public slots:
968  void SetIP(const QString &ip);
969  void SetTuner(const QString &tuner);
970 
971  private:
972  QString m_ip;
973  QString m_card;
974  QString m_tuner;
976 };
977 
978 #endif
QString m_ip
Definition: videosource.h:932
CaptureCard & m_parent
Definition: videosource.h:435
unsigned int slots[4]
Definition: element.c:38
QString getSourceName(void) const
Definition: videosource.h:191
DVB-S device settings class.
Definition: diseqc.h:35
CaptureCardDBStorage(StorageUser *_user, const CaptureCard &_parent, const QString &_name)
Definition: videosource.h:233
vector< CardInput * > m_cardInputs
Definition: videosource.h:775
CaptureCardComboBoxSetting(const CaptureCard &parent, bool rw, const QString &setting)
Definition: videosource.h:252
virtual void Save(const QString &)
Definition: videosource.h:128
VBoxDeviceID * m_deviceId
Definition: videosource.h:907
QString m_deviceId
Definition: videosource.h:340
virtual void Save(const QString &)
Definition: videosource.h:157
QString m_oldValue
Definition: videosource.h:914
void resultEdit(DialogCompletionEvent *) override
Definition: videosource.h:678
CaptureCard & m_parent
Definition: videosource.h:540
virtual void Load(void)
QString m_desc
Definition: videosource.h:390
const CaptureCard & m_parent
Definition: videosource.h:912
QMap< QString, HDHomeRunDevice > HDHomeRunDeviceList
Definition: videosource.h:346
void Save(void) override
Definition: videosource.h:313
MythCoreContext * gCoreContext
This global variable contains the MythCoreContext instance for the app.
int getCardID(void) const
Definition: videosource.h:644
QString m_tunerNo
Definition: videosource.h:392
QStringList m_grabberArgs
Definition: videosource.h:136
StartingChannel(const CardInput &parent)
Definition: videosource.h:782
QString m_cardIp
Definition: videosource.h:342
void Save(const QString &destination)
Definition: videosource.h:319
CaptureCardButton(const QString &label, QString value)
Definition: videosource.h:712
Hostname(const CaptureCard &parent)
Definition: videosource.h:671
const CaptureCard & m_parent
Definition: videosource.h:246
QMap< QString, QVariant > MSqlBindings
typedef for a map of string -> string bindings for generic queries.
Definition: mythdbcon.h:98
void edit(MythScreenType *) override
Definition: videosource.h:677
FirewireDesc(const FirewireGUID *_guid)
Definition: videosource.h:621
VERBOSE_PREAMBLE false
Definition: verbosedefs.h:85
CardInputDBStorage(StorageUser *_user, const CardInput &_parent, const QString &_name)
Definition: videosource.h:688
#define MTV_PUBLIC
Definition: mythtvexp.h:15
uint GetSourceID(void) const
Definition: videosource.h:69
void SetOldValue(const QString &s)
Definition: videosource.h:853
HDHomeRunDeviceList m_deviceList
Definition: videosource.h:366
QDateTime current(bool stripped)
Returns current Date and Time in UTC.
Definition: mythdate.cpp:10
VBoxDeviceList m_deviceList
Definition: videosource.h:421
VBoxIP * m_cardIp
Definition: videosource.h:909
QString m_deviceId
Definition: videosource.h:389
void Load(void) override
Definition: videosource.h:193
uint m_initialSourceId
Definition: videosource.h:89
unsigned int uint
Definition: compat.h:140
QString m_driverName
Definition: videosource.h:491
QString m_tuner
Definition: videosource.h:974
static void fillSelections(void)
Definition: videosource.h:791
CaptureCard & m_parent
Definition: videosource.h:454
CaptureCard & m_parent
Definition: videosource.h:487
const char * m_name
Definition: ParseText.cpp:328
const VideoSource & m_parent
Definition: videosource.h:55
const CaptureCard & m_parent
Definition: videosource.h:975
virtual void Save(void)
QString m_card
Definition: videosource.h:973
QString m_tunerType
Definition: videosource.h:393
CaptureCard & m_parent
Definition: videosource.h:415
QString m_overrideDeviceId
Definition: videosource.h:934
virtual void Save(const QString &)
Definition: videosource.h:145
int intValue()
Definition: videosource.h:171
void SetOldValue(const QString &s)
Definition: videosource.h:874
HDHomeRunConfigurationGroup & m_group
Definition: videosource.h:380
const VideoSource & m_parent
Definition: videosource.h:134
CaptureCard & m_parent
Definition: videosource.h:508
void setValue(int value) override
Definition: videosource.h:172
virtual void Save(const QString &)
Definition: videosource.h:110
QString m_cardIp
Definition: videosource.h:391
EmptyVBIDevice(const CaptureCard &parent)
Definition: videosource.h:307
VideoSourceDBStorage(StorageUser *_user, const VideoSource &_parent, const QString &name)
Definition: videosource.h:44
uint GetSourceID(void) const
Definition: videosource.h:86
Name(const VideoSource &parent)
Definition: videosource.h:218
VBoxTunerIndex * m_cardTuner
Definition: videosource.h:910
CaptureCard & m_parent
Definition: videosource.h:524
EmptyAudioDevice(const CaptureCard &parent)
Definition: videosource.h:281
QString m_ip
Definition: videosource.h:972
int getSourceID(void) const
Definition: videosource.h:183
QString m_oldValue
Definition: videosource.h:863
QString m_tuner
Definition: videosource.h:933
Screen in which all other widgets are contained and rendered.
CaptureCard & m_parent
Definition: videosource.h:586
StandardSetting * m_desc
Definition: videosource.h:908
static bool is_grabber_labs(const QString &grabber)
Definition: videosource.h:35
QString GetHostName(void)
void Save(void) override
Definition: videosource.h:288
Event dispatched from MythUI modal dialogs to a listening class containing a result of some form.
Definition: mythdialogbox.h:41
void Save(void) override
Definition: videosource.h:198
IdSetting(const QString &table, const QString &setting)
Definition: videosource.h:165
const CardInput & m_parent
Definition: videosource.h:704
DVB-S device tree class.
Definition: diseqc.h:73
virtual void setValue(const QString &newValue)
VBoxDeviceList * m_deviceList
Definition: videosource.h:911
void Save(const QString &destination)
Definition: videosource.h:294
static bool is_grabber_external(const QString &grabber)
Definition: videosource.h:29
QMap< QString, VBoxDevice > VBoxDeviceList
Definition: videosource.h:398
CaptureCard & m_parent
Definition: videosource.h:471
QString m_mythDeviceId
Definition: videosource.h:388
int getInputID(void) const
Definition: videosource.h:804
QString m_oldValue
Definition: videosource.h:884