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
6 Q_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 }
MythHTTPServices::m_serviceList
QStringList m_serviceList
Definition: mythhttpservices.h:29
mythhttpmetaservice.h
MythHTTPServices::GetServiceList
QStringList GetServiceList()
Definition: mythhttpservices.cpp:21
MythHTTPServices
Definition: mythhttpservices.h:7
MythHTTPService
Definition: mythhttpservice.h:19
MythHTTPServices::UpdateServices
void UpdateServices(const HTTPServices &Services)
Definition: mythhttpservices.cpp:13
MythHTTPServices::ServiceListChanged
void ServiceListChanged(const QStringList &ServiceList)
Q_GLOBAL_STATIC_WITH_ARGS
Q_GLOBAL_STATIC_WITH_ARGS(MythHTTPMetaService, s_service,(CAPTURE_HANDLE, V2Capture::staticMetaObject, &V2Capture::RegisterCustomTypes)) void V2Capture
Definition: v2capture.cpp:48
HTTP_SERVICES_DIR
#define HTTP_SERVICES_DIR
Definition: mythhttptypes.h:26
mythhttpservices.h
HTTPServices
std::vector< HTTPService > HTTPServices
Definition: mythhttptypes.h:55
MythHTTPMetaService
Definition: mythhttpmetaservice.h:10