MythTV master
mythhttpservices.cpp
Go to the documentation of this file.
1// MythTV
4
5// This will be initialised in a thread safe manner on first use
6Q_GLOBAL_STATIC_WITH_ARGS(MythHTTPMetaService, s_service, (HTTP_SERVICES_DIR, MythHTTPServices::staticMetaObject))
7
9 : MythHTTPService(s_service)
10{
11}
12
14{
15 m_serviceList.clear();
16 for (const auto & service : Services)
17 m_serviceList.append(service.first);
19}
20
22{
23 return m_serviceList;
24}
QStringList m_serviceList
void ServiceListChanged(const QStringList &ServiceList)
void UpdateServices(const HTTPServices &Services)
QStringList GetServiceList()
std::vector< HTTPService > HTTPServices
Definition: mythhttptypes.h:55
#define HTTP_SERVICES_DIR
Definition: mythhttptypes.h:26
Q_GLOBAL_STATIC_WITH_ARGS(MythHTTPMetaService, s_service,(CAPTURE_HANDLE, V2Capture::staticMetaObject, &V2Capture::RegisterCustomTypes)) void V2Capture
Definition: v2capture.cpp:50