Add functionality for webtv

Taken from bitbucket.org/neutrino-images/ni-neutrino-hd

Required  build fixes:
    Clean cherry-pick was impossible and build was broken,
    because of missing parts of historie inside source repository.
    That forces to add many other missing code parts.
This commit is contained in:
2017-11-27 16:12:31 +01:00
parent 5731cf10a4
commit 720e1d3cfd
8 changed files with 171 additions and 22 deletions

View File

@@ -27,7 +27,7 @@
#include <string.h>
#include <gui/widget/menue.h>
class CWebTVSetup : public CMenuTarget
class CWebTVSetup : public CMenuTarget, CChangeObserver
{
private:
int width;
@@ -39,6 +39,9 @@ class CWebTVSetup : public CMenuTarget
CWebTVSetup();
int exec(CMenuTarget* parent, const std::string & actionKey);
int Show();
bool changeNotify(const neutrino_locale_t OptionName, void *data);
void webtv_xml_auto();
bool webtv_xml_autodir(std::string directory);
};
class CWebTVResolution : public CMenuTarget