MythTV  master
mythhttpservices.h
Go to the documentation of this file.
1 #ifndef MYTHHTTPSERVICES_H
2 #define MYTHHTTPSERVICES_H
3 
4 // MythTV
6 
8 {
9  friend class MythHTTPSocket;
10 
11  Q_OBJECT
12  Q_CLASSINFO("Version", "1.0.0")
13  Q_PROPERTY(QStringList ServiceList READ GetServiceList NOTIFY ServiceListChanged MEMBER m_serviceList)
14 
15  signals:
16  void ServiceListChanged(const QStringList& ServiceList);
17 
18  public slots:
19  QStringList GetServiceList();
20 
21  public:
23  ~MythHTTPServices() override = default;
24 
25  protected slots:
26  void UpdateServices(const HTTPServices& Services);
27 
28  protected:
29  QStringList m_serviceList;
30 
31  private:
32  Q_DISABLE_COPY(MythHTTPServices)
33 };
34 
35 #endif
36 
MythHTTPServices::m_serviceList
QStringList m_serviceList
Definition: mythhttpservices.h:29
MythHTTPServices::GetServiceList
QStringList GetServiceList()
Definition: mythhttpservices.cpp:22
MythHTTPServices
Definition: mythhttpservices.h:7
MythHTTPServices::ServiceList
QStringList ServiceList
Definition: mythhttpservices.h:13
MythHTTPService
Definition: mythhttpservice.h:19
MythHTTPServices::UpdateServices
void UpdateServices(const HTTPServices &Services)
Definition: mythhttpservices.cpp:14
MythHTTPServices::ServiceListChanged
void ServiceListChanged(const QStringList &ServiceList)
mythhttpservice.h
MythHTTPSocket
Definition: mythhttpsocket.h:18
HTTPServices
std::vector< HTTPService > HTTPServices
Definition: mythhttptypes.h:54