Go to the documentation of this file. 1 #ifndef BACKENDSELECT_H
2 #define BACKENDSELECT_H
21 const QString
kBackendURI =
"urn:schemas-mythtv-org:device:MasterMediaServer:1";
24 const QString
kDefaultMFE =
"UPnP/MythFrontend/DefaultBackend/";
28 using ItemMap = QMap <QString, DeviceLocation*>;
55 bool Create(
void)
override;
56 void Close(
void)
override;
66 void Load(
void)
override;
67 void Init(
void)
override;
96 #endif // BACKENDSELECT_H
DatabaseParams * m_dbParams
void Cancel(void)
Linked to 'Cancel' button.
Q_DECLARE_METATYPE(GrabberScript *)
void Close(void) override
static void error(const char *str,...)
void Init(void) override
Used after calling Load() to assign data to widgets and other UI initilisation which is prohibited in...
Configuration * m_pConfig
void customEvent(QEvent *event) override
Structure containing the basic Database parameters.
void AddItem(DeviceLocation *dev)
const QString kDefaultWOL
Screen in which all other widgets are contained and rendered.
void CloseWithDecision(Decision d)
void RemoveItem(const QString &USN)
void Manual(void)
Linked to 'Configure Manually' button.
Classes to Prompt user for a master backend.
MythUIButton * m_saveButton
const QString kBackendURI
bool ConnectBackend(DeviceLocation *dev)
Attempt UPnP connection to a backend device, get its DB details.
QMap< QString, DeviceLocation * > ItemMap
~BackendSelection() override
MythUIButtonList * m_backendList
bool TryDBfromURL(const QString &error, const QString &URL)
Decision m_backendDecision
bool Create(void) override
void PromptForPassword(void)
const QString kDefaultUSN
static Decision Prompt(DatabaseParams *dbParams, Configuration *pConfig)
void Load(void) override
Load data which will ultimately be displayed on-screen or used to determine what appears on-screen (S...
const QString kDefaultPIN
MythUIButton * m_cancelButton
MythUIButton * m_manualButton
static const iso6937table * d
const QString kDefaultMFE
BackendSelection(MythScreenStack *parent, DatabaseParams *params, Configuration *pConfig, bool exitOnFinish=false)