MythTV  master
internetContent.h
Go to the documentation of this file.
1 // Program Name: internetContent.h
3 //
4 // Purpose - MythTV XML protocol HttpServerExtension
5 //
6 // Created By : David Blain Created On : Oct. 24, 2005
7 // Modified By : Modified On:
8 //
10 
11 #ifndef INTERNETCONTENT_H_
12 #define INTERNETCONTENT_H_
13 
14 #include <QDomDocument>
15 #include <QMap>
16 #include <QDateTime>
17 
18 #include "libmythupnp/httpserver.h"
19 
22 //
23 //
24 //
27 
29 {
30  private:
31 
32  static void GetInternetSearch( HTTPRequest *pRequest );
33  static void GetInternetSources( HTTPRequest *pRequest );
34  static void GetInternetContent( HTTPRequest *pRequest );
35 
36  public:
37  explicit InternetContent( const QString &sSharePath);
38  ~InternetContent() override = default;
39 
40  QStringList GetBasePaths() override; // HttpServerExtension
41 
42  bool ProcessRequest( HTTPRequest *pRequest ) override; // HttpServerExtension
43 
44 };
45 
46 #endif
HTTPRequest
Definition: httprequest.h:110
InternetContent::GetInternetSearch
static void GetInternetSearch(HTTPRequest *pRequest)
Definition: internetContent.cpp:107
InternetContent::GetInternetSources
static void GetInternetSources(HTTPRequest *pRequest)
Definition: internetContent.cpp:156
InternetContent::InternetContent
InternetContent(const QString &sSharePath)
Definition: internetContent.cpp:33
InternetContent::GetBasePaths
QStringList GetBasePaths() override
Definition: internetContent.cpp:42
InternetContent
Definition: internetContent.h:28
InternetContent::ProcessRequest
bool ProcessRequest(HTTPRequest *pRequest) override
Definition: internetContent.cpp:51
InternetContent::~InternetContent
~InternetContent() override=default
InternetContent::GetInternetContent
static void GetInternetContent(HTTPRequest *pRequest)
Definition: internetContent.cpp:189
httpserver.h
HttpServerExtension
Definition: httpserver.h:67