_CgUpnpAVCDS Struct Reference

The Content Directory Service structure. More...

#include <ccontentdirectory.h>


Data Fields

CgUpnpService * upnpService
CgString * sortCaps
CgString * searchCaps
CgString * systemUpdateID
CgXmlNodeList * contentNodeList
CgThread * fileWatcher


Detailed Description

The Content Directory Service structure.

Actually, this is not THE CDS service from CyberLink's point of view, but a container for CDS-specific information. This can be stored in the userData pointer of the actual CgUpnpService struct. The actual service can be found by checking whether cg_upnp_service_isname() returns the CDS type string stored in CG_UPNP_CDS_SERVICE_TYPE.

Short howto for device side: First, create a regular device and give the device its XML description to parse. The device should now contain services (with CDS). Second, give each service (especially CDS in this case) their own XML description files to parse actions and state tables. Third, set the service's action listener (to be able to respond correctly to actions and pass action invocations to other listening parties like libgupnp) and optionally the query listener (for libgupnp and friends, not really much else, because CyberLink does it all for us).


Field Documentation

CgXmlNodeList* _CgUpnpAVCDS::contentNodeList
 

CDS contents

CgThread* _CgUpnpAVCDS::fileWatcher
 

Thread that periodically checks for updates in added directories

CgString* _CgUpnpAVCDS::searchCaps
 

Search capabilities

CgString* _CgUpnpAVCDS::sortCaps
 

Sort capabilities

CgString* _CgUpnpAVCDS::systemUpdateID
 

Update ID

CgUpnpService* _CgUpnpAVCDS::upnpService
 

The actual CyberLink service struct i.e. the parent


The documentation for this struct was generated from the following file:
Generated on Mon Aug 14 10:23:34 2006 for CyberLinkC-AV by  doxygen 1.4.6