summaryrefslogtreecommitdiff
path: root/include/plugin.h
diff options
context:
space:
mode:
authormethodus <methodus@web.de>2012-10-12 11:45:32 +0200
committermethodus <methodus@web.de>2012-10-12 11:45:32 +0200
commitb0e2b9d4f39d5adf322280269e096c8464a8fda2 (patch)
tree5b51495008d95d18e90973b898f6a01b55273fb2 /include/plugin.h
parent350f2dc11ffb88ff3310987ed4a103229a3c82d3 (diff)
downloadvdr-plugin-upnp-b0e2b9d4f39d5adf322280269e096c8464a8fda2.tar.gz
vdr-plugin-upnp-b0e2b9d4f39d5adf322280269e096c8464a8fda2.tar.bz2
Third step to scan directories provided by plugable providers.
Diffstat (limited to 'include/plugin.h')
-rw-r--r--include/plugin.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/include/plugin.h b/include/plugin.h
index 4016db0..5607a7e 100644
--- a/include/plugin.h
+++ b/include/plugin.h
@@ -164,6 +164,18 @@ public:
uint32_t GetNrAudioChannels() const { return nrAudioChannels; }
uint32_t GetColorDepth() const { return colorDepth; }
+ /**
+ * Compares a resource with another resource
+ *
+ * This returns true if and only if the resource uri of the
+ * compared two resources are equal.
+ *
+ * It is illegal to have two distinct resources with the
+ * same resource uri even if one of them is a converted or
+ * transcoded version of the other one.
+ */
+ bool operator==(const Resource& rhs);
+
private:
string resourceUri;
string protocolInfo;