summaryrefslogtreecommitdiff
path: root/cPlexOsdItem.h
diff options
context:
space:
mode:
authorchriszero <zerov83@gmail.com>2014-11-25 21:27:19 +0100
committerchriszero <zerov83@gmail.com>2014-11-25 21:27:19 +0100
commita9dd0c6a322f139e03a0ba4570e2a78508ddd6c3 (patch)
tree89cbb7cd4ac6f1ab11a5ef111f97dc5245a76081 /cPlexOsdItem.h
parent90f4be4ba9500df310af39b5274d3a6da69cd90f (diff)
downloadvdr-plugin-plex-a9dd0c6a322f139e03a0ba4570e2a78508ddd6c3.tar.gz
vdr-plugin-plex-a9dd0c6a322f139e03a0ba4570e2a78508ddd6c3.tar.bz2
Discovers now multiple Plexmediaservers
Diffstat (limited to 'cPlexOsdItem.h')
-rw-r--r--cPlexOsdItem.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/cPlexOsdItem.h b/cPlexOsdItem.h
index 5ca144c..3395cb0 100644
--- a/cPlexOsdItem.h
+++ b/cPlexOsdItem.h
@@ -7,22 +7,26 @@
#include "PVideo.h"
#include "Directory.h"
+#include "PlexServer.h"
class cPlexOsdItem : public cOsdItem
{
private:
plexclient::Video *item;
plexclient::Directory *dir;
+ plexclient::PlexServer *pserver;
bool m_bVideo;
bool m_bDir;
public:
cPlexOsdItem(const char* title);
+ cPlexOsdItem(const char* title, plexclient::PlexServer* server);
cPlexOsdItem(const char* title, plexclient::Video* obj);
cPlexOsdItem(const char* title, plexclient::Directory* obj);
~cPlexOsdItem();
plexclient::Video* GetAttachedVideo();
plexclient::Directory* GetAttachedDirectory();
+ plexclient::PlexServer* GetAttachedServer();
bool IsVideo() const {
return m_bVideo;