MythTV  master
mythhttpservices.cpp
Go to the documentation of this file.
1 // MythTV
2 #include "mythlogging.h"
5 
6 // This will be initialised in a thread safe manner on first use
7 Q_GLOBAL_STATIC_WITH_ARGS(MythHTTPMetaService, s_service, (HTTP_SERVICES_DIR, MythHTTPServices::staticMetaObject))
8 
10  : MythHTTPService(s_service)
11 {
12 }
13 
15 {
16  m_serviceList.clear();
17  for (const auto & service : Services)
18  m_serviceList.append(service.first);
20 }
21 
23 {
24  return m_serviceList;
25 }
MythHTTPServices::m_serviceList
QStringList m_serviceList
Definition: mythhttpservices.h:29
mythhttpmetaservice.h
mythlogging.h
MythHTTPServices::GetServiceList
QStringList GetServiceList()
Definition: mythhttpservices.cpp:22
MythHTTPServices
Definition: mythhttpservices.h:7
MythHTTPService
Definition: mythhttpservice.h:19
MythHTTPServices::UpdateServices
void UpdateServices(const HTTPServices &Services)
Definition: mythhttpservices.cpp:14
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:47
HTTP_SERVICES_DIR
#define HTTP_SERVICES_DIR
Definition: mythhttptypes.h:25
mythhttpservices.h
HTTPServices
std::vector< HTTPService > HTTPServices
Definition: mythhttptypes.h:54
MythHTTPMetaService
Definition: mythhttpmetaservice.h:10