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 "libmyth/mythcontext.h"
19 #include "libmythupnp/httpserver.h"
20 
23 //
24 //
25 //
28 
30 {
31  private:
32 
33  static void GetInternetSearch( HTTPRequest *pRequest );
34  static void GetInternetSources( HTTPRequest *pRequest );
35  static void GetInternetContent( HTTPRequest *pRequest );
36 
37  public:
38  explicit InternetContent( const QString &sSharePath);
39  ~InternetContent() override = default;
40 
41  QStringList GetBasePaths() override; // HttpServerExtension
42 
43  bool ProcessRequest( HTTPRequest *pRequest ) override; // HttpServerExtension
44 
45 };
46 
47 #endif
HTTPRequest
Definition: httprequest.h:109
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:29
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
mythcontext.h
httpserver.h
HttpServerExtension
Definition: httpserver.h:71