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