From 724cb5e3783311f6b8c808852dbe2de59f2399b0 Mon Sep 17 00:00:00 2001 From: Denis Loh Date: Mon, 25 Jan 2010 12:10:01 +0100 Subject: Fixed small bug which leads to an empty TV folder --- doc/html/classcContentDirectory.html | 205 +++++++++++++++++++++++++++++++++++ 1 file changed, 205 insertions(+) create mode 100644 doc/html/classcContentDirectory.html (limited to 'doc/html/classcContentDirectory.html') diff --git a/doc/html/classcContentDirectory.html b/doc/html/classcContentDirectory.html new file mode 100644 index 0000000..a016111 --- /dev/null +++ b/doc/html/classcContentDirectory.html @@ -0,0 +1,205 @@ + + +UPnP/DLNA plugin for VDR: cContentDirectory Class Reference + + + + + +
+

cContentDirectory Class Reference

#include <contentdirectory.h> +

+

+Inheritance diagram for cContentDirectory:
+
+

Inheritance graph
+ + +
[legend]
+
+Collaboration diagram for cContentDirectory:
+
+

Collaboration graph
+ + +
[legend]
+ +

+List of all members. + + + + + + + + + + +

Public Member Functions

 cContentDirectory (UpnpDevice_Handle DeviceHandle, cMediaDatabase *MediaDatabase)
virtual int subscribe (Upnp_Subscription_Request *Request)
virtual int execute (Upnp_Action_Request *Request)
virtual void setError (Upnp_Action_Request *Request, int Error)
+


Detailed Description

+The content directory service

+This is the content directory service which handles all incoming requests for contents managed by the media server.


Constructor & Destructor Documentation

+ +
+
+ + + + + + + + + + + + + + + + + + +
cContentDirectory::cContentDirectory (UpnpDevice_Handle  DeviceHandle,
cMediaDatabase MediaDatabase 
)
+
+
+ +

+Constructor of a Content Directory

+This creates an instance of a Content Directory Service and provides interfaces for executing actions and subscribing on events.

Parameters:
+ + + +
DeviceHandle The UPnP device handle of the root device
MediaDatabase the media database where requests are processed
+
+ +
+

+


Member Function Documentation

+ +
+
+ + + + + + + + + +
int cContentDirectory::execute (Upnp_Action_Request *  Request  )  [virtual]
+
+
+ +

+Executes an action

+This executes an action initialized by a control point. The result is stored in the first parameter.

+

Returns:
An integer representing one of the following:
    +
  • UPNP_E_SUCCESS, if subscription was okay
  • or any other non null value in case of an error
+
+
Parameters:
+ + +
Request Input and output parameters of an action
+
+ +

Implements cUpnpService.

+ +
+

+ +

+
+ + + + + + + + + + + + + + + + + + +
void cContentDirectory::setError (Upnp_Action_Request *  Request,
int  Error 
) [virtual]
+
+
+ +

+Sets an error on an action request

+This function puts a error message into the action request structure according to its error code

+

Parameters:
+ + + +
Request the action request, to set the error for
Error the error code of which the message should be obtained
+
+ +

Reimplemented from cUpnpService.

+ +
+

+ +

+
+ + + + + + + + + +
int cContentDirectory::subscribe (Upnp_Subscription_Request *  Request  )  [virtual]
+
+
+ +

+Subscribes to an event

+This is a callback function to register a new subscriber for an event.

+

Returns:
An integer representing one of the following:
    +
  • UPNP_E_SUCCESS, if subscription was okay
  • or any other non null value in case of an error
+
+
Parameters:
+ + +
Request Information about the subscription
+
+ +

Implements cUpnpService.

+ +
+

+


The documentation for this class was generated from the following files: +
+
Generated on Sun Nov 8 15:44:09 2009 for UPnP/DLNA plugin for VDR by  + +doxygen 1.5.8
+ + -- cgit v1.2.3