diff options
author | chriszero <zerov83@gmail.com> | 2015-02-21 16:43:14 +0100 |
---|---|---|
committer | chriszero <zerov83@gmail.com> | 2015-02-21 16:43:14 +0100 |
commit | 2d8e03d177d20f22c2776b77b2d704a5009ce0fa (patch) | |
tree | 6969a3735fcc106b6f744417587ef8766d8b225a /plex.h | |
parent | 37043899a114c20b50d26ceb2992c2e670b6024e (diff) | |
download | vdr-plugin-plex-2d8e03d177d20f22c2776b77b2d704a5009ce0fa.tar.gz vdr-plugin-plex-2d8e03d177d20f22c2776b77b2d704a5009ce0fa.tar.bz2 |
Add feature: recovers menustate before playing
Diffstat (limited to 'plex.h')
-rw-r--r-- | plex.h | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -56,10 +56,15 @@ private: eOSState LevelUp(void); /// Handle menu item selection eOSState ProcessSelected(); + + static std::shared_ptr<plexclient::Plexservice> pLastService; + static int lastCurrentItem; public: cPlexBrowser(const char *title, std::shared_ptr<plexclient::Plexservice> Service); virtual eOSState ProcessKey(eKeys); + + static cPlexBrowser* RecoverLastState(); }; @@ -98,6 +103,9 @@ public: virtual bool SetupParse(const char *, const char *); static void PlayFile(plexclient::Video Vid); + +public: + static volatile bool CalledFromCode; }; |