summaryrefslogtreecommitdiff
path: root/inc
diff options
context:
space:
mode:
Diffstat (limited to 'inc')
-rw-r--r--inc/object.h8
-rw-r--r--inc/util.h9
2 files changed, 10 insertions, 7 deletions
diff --git a/inc/object.h b/inc/object.h
index bceb3f1..1031589 100644
--- a/inc/object.h
+++ b/inc/object.h
@@ -752,7 +752,7 @@ public:
*
* @return a vector with all search classes
*/
- const std::vector<cClass>* getSearchClasses() const { return &(this->mSearchClasses); }
+ const tClassVector* getSearchClasses() const { return &(this->mSearchClasses); }
/**
* Get the create classes
*
@@ -763,7 +763,7 @@ public:
*
* @return a vector with create classes
*/
- const std::vector<cClass>* getCreateClasses() const { return &(this->mCreateClasses); }
+ const tClassVector* getCreateClasses() const { return &(this->mCreateClasses); }
/**
* Is this container searchable
*
@@ -832,7 +832,7 @@ protected:
cUPnPClassVideoItem();
public:
virtual ~cUPnPClassVideoItem();
- //virtual cString createDIDLFragment(cStringList* Filter);
+ virtual IXML_Node* createDIDLFragment(IXML_Document* Document, cStringList* Filter);
virtual cStringList* getPropertyList();
virtual bool setProperty(const char* Property, const char* Value);
virtual bool getProperty(const char* Property, char** Value) const;
@@ -1141,7 +1141,7 @@ protected:
cUPnPClassVideoBroadcast();
public:
virtual ~cUPnPClassVideoBroadcast();
- //virtual cString createDIDLFragment(cStringList* Filter);
+ virtual IXML_Node* createDIDLFragment(IXML_Document* Document, cStringList* Filter);
virtual cStringList* getPropertyList();
virtual bool setProperty(const char* Property, const char* Value);
virtual bool getProperty(const char* Property, char** Value) const;
diff --git a/inc/util.h b/inc/util.h
index 5f6f4a3..f194186 100644
--- a/inc/util.h
+++ b/inc/util.h
@@ -88,14 +88,17 @@ char* ixmlGetFirstDocumentItem( IN IXML_Document * doc, IN const char *item, int
* The property must have the pattern "namespace:property@attribute".
*
* @return returns
- * - \bc <0, in case of an error
- * - \bc 0, otherwise
+ * - \bc NULL, in case of an error
+ * - \bc the newly created property node or the node at which the attribute was
+ * appended to
* @param document the \c IXML document to put the parameter in
* @param node the specific node where to put the parameter
* @param upnpproperty the upnp property
* @param value the value of the upnp property
*/
-int ixmlAddProperty(IN IXML_Document* document, IN IXML_Element* node, const char* upnpproperty, const char* value );
+IXML_Element* ixmlAddProperty(IN IXML_Document* document, IN IXML_Element* node, IN const char* upnpproperty, IN const char* value );
+
+IXML_Element* ixmlAddFilteredProperty(IN cStringList* Filter, IN IXML_Document* document, IN IXML_Element* node, IN const char* upnpproperty, IN const char* value );
/**
* creates a part of a string
*