39 #ifndef _PLT_UPNP_CONSTANTS_H_ 40 #define _PLT_UPNP_CONSTANTS_H_ 69 void SetDefaultUserAgent(
const char* agent) { m_DefaultUserAgent =
new NPT_String(agent); }
72 void SetSearchMulticastTimeToLive(NPT_UInt32 ttl) { m_SearchMulticastTimeToLive = ttl; }
73 NPT_UInt32 GetSearchMulticastTimeToLive() {
return m_SearchMulticastTimeToLive; }
75 void SetAnnounceMulticastTimeToLive(NPT_UInt32 ttl) { m_AnnounceMulticastTimeToLive = ttl; }
76 NPT_UInt32 GetAnnounceMulticastTimeToLive() {
return m_AnnounceMulticastTimeToLive; }
83 NPT_UInt32 m_SearchMulticastTimeToLive;
84 NPT_UInt32 m_AnnounceMulticastTimeToLive;
The PLT_Constants class provides a way to globally set or get certain UPnP constants.
Definition: PltConstants.h:54
Definition: NptReferences.h:45
Definition: NptStrings.h:57