00001 00002 // Program Name: internetContent.h 00003 // 00004 // Purpose - MythTV XML protocol HttpServerExtension 00005 // 00006 // Created By : David Blain Created On : Oct. 24, 2005 00007 // Modified By : Modified On: 00008 // 00010 00011 #ifndef INTERNETCONTENT_H_ 00012 #define INTERNETCONTENT_H_ 00013 00014 #include <QDomDocument> 00015 #include <QMap> 00016 #include <QDateTime> 00017 00018 #include "httpserver.h" 00019 00020 #include "mythcontext.h" 00021 00024 // 00025 // 00026 // 00029 00030 class InternetContent : public HttpServerExtension 00031 { 00032 private: 00033 00034 void GetInternetSearch( HTTPRequest *pRequest ); 00035 void GetInternetSources( HTTPRequest *pRequest ); 00036 void GetInternetContent( HTTPRequest *pRequest ); 00037 00038 public: 00039 InternetContent( const QString &sSharePath); 00040 virtual ~InternetContent(); 00041 00042 virtual QStringList GetBasePaths(); 00043 00044 bool ProcessRequest( HTTPRequest *pRequest ); 00045 00046 }; 00047 00048 #endif
1.6.3