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/classcUPnPVideoItemMediator.html | 248 ++++++++++++++++++++++++++++++ 1 file changed, 248 insertions(+) create mode 100644 doc/html/classcUPnPVideoItemMediator.html (limited to 'doc/html/classcUPnPVideoItemMediator.html') diff --git a/doc/html/classcUPnPVideoItemMediator.html b/doc/html/classcUPnPVideoItemMediator.html new file mode 100644 index 0000000..f22c558 --- /dev/null +++ b/doc/html/classcUPnPVideoItemMediator.html @@ -0,0 +1,248 @@ + + +UPnP/DLNA plugin for VDR: cUPnPVideoItemMediator Class Reference + + + + + +
+

cUPnPVideoItemMediator Class Reference

#include <object.h> +

+

+Inheritance diagram for cUPnPVideoItemMediator:
+
+

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

Collaboration graph
+ + +
[legend]
+ +

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

Public Member Functions

 cUPnPVideoItemMediator (cMediaDatabase *MediaDatabase)
virtual cUPnPClassVideoItemcreateObject (const char *Title, bool Restricted)
virtual cUPnPClassVideoItemgetObject (cUPnPObjectID ID)

Protected Member Functions

virtual int objectToDatabase (cUPnPClassObject *Object)
virtual int databaseToObject (cUPnPClassObject *Object, cUPnPObjectID ID)
+


Detailed Description

+VideoItem Mediator

+This is the interface between the objects and the database. It is possible to create new objects, stores objects in the database as well as removing them from it.


Constructor & Destructor Documentation

+ +
+
+ + + + + + + + + +
cUPnPVideoItemMediator::cUPnPVideoItemMediator (cMediaDatabase MediaDatabase  ) 
+
+
+ +

+Constructor of videoitem mediator

+This creates a new videoitem mediator with which it is possible to create new instances of VideoItem objects.

+

Parameters:
+ + +
MediaDatabase the media database
+
+ +
+

+


Member Function Documentation

+ +
+
+ + + + + + + + + + + + + + + + + + +
cUPnPClassVideoItem * cUPnPVideoItemMediator::createObject (const char *  Title,
bool  Restricted 
) [virtual]
+
+
+ +

+Creates an object

+This creates a new UPnP object with the specific title and the restriction.

+

Returns:
the newly created object
+
Parameters:
+ + + +
Title the title of that object
Restricted the restriction of the object
+
+ +

Reimplemented from cUPnPItemMediator.

+ +

Reimplemented in cUPnPVideoBroadcastMediator, and cUPnPMovieMediator.

+ +
+

+ +

+
+ + + + + + + + + + + + + + + + + + +
int cUPnPVideoItemMediator::databaseToObject (cUPnPClassObject Object,
cUPnPObjectID  ID 
) [protected, virtual]
+
+
+ +

+Loads an object from database

+This loads an object from the database

+

Returns:
returns
    +
  • <0, in case of an error
  • 0, otherwise
+
+
Parameters:
+ + + +
Object the object to be loaded
ID the object ID of that object
+
+ +

Reimplemented from cUPnPItemMediator.

+ +

Reimplemented in cUPnPVideoBroadcastMediator, and cUPnPMovieMediator.

+ +
+

+ +

+
+ + + + + + + + + +
cUPnPClassVideoItem * cUPnPVideoItemMediator::getObject (cUPnPObjectID  ID  )  [virtual]
+
+
+ +

+Get an object

+Retrieves a UPnP object from the database and stores its information in the object. The object is obtained via its object ID.

+

Returns:
the object, found in the database
+
Parameters:
+ + +
ID the object ID
+
+ +

Reimplemented from cUPnPItemMediator.

+ +

Reimplemented in cUPnPVideoBroadcastMediator, and cUPnPMovieMediator.

+ +
+

+ +

+
+ + + + + + + + + +
int cUPnPVideoItemMediator::objectToDatabase (cUPnPClassObject Object  )  [protected, virtual]
+
+
+ +

+Store the object in the database

+This stores the information of an object in the database

+

Returns:
returns
    +
  • <0, in case of an error
  • 0, otherwise
+
+
Parameters:
+ + +
Object the object to be saved
+
+ +

Reimplemented from cUPnPItemMediator.

+ +

Reimplemented in cUPnPVideoBroadcastMediator, and cUPnPMovieMediator.

+ +
+

+


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