00001 00002 // Program Name: mediarenderer.h 00003 // 00004 // Purpose - uPnp Media Renderer main Class 00005 // 00006 // Created By : David Blain Created On : Jan. 25, 2007 00007 // Modified By : Modified On: 00008 // 00010 00011 #ifndef __MEDIARENDERER_H__ 00012 #define __MEDIARENDERER_H__ 00013 00014 #include <qobject.h> 00015 #include <qmutex.h> 00016 00017 #include "upnp.h" 00018 #include "upnpcmgr.h" 00019 #include "mythxmlclient.h" 00020 00023 // 00024 // 00025 // 00028 00029 class MediaRenderer : public UPnp 00030 { 00031 private: 00032 00033 HttpServer *m_pHttpServer; 00034 00035 protected: 00036 00037 //UPnpControl *m_pUPnpControl; // Do not delete (auto deleted) 00038 UPnpCMGR *m_pUPnpCMGR; // Do not delete (auto deleted) 00039 00040 public: 00041 MediaRenderer(); 00042 virtual ~MediaRenderer(); 00043 00044 DeviceLocation *GetDefaultMaster(); 00045 void SetDefaultMaster( DeviceLocation *pDeviceLoc, 00046 const QString &sPin ); 00047 00048 }; 00049 00050 #endif
1.5.5