use CEitManager to get EIT data

This commit is contained in:
[CST] Focus
2012-08-30 11:40:02 +04:00
parent 6c9a949c69
commit 74a761ef50
15 changed files with 76 additions and 152 deletions

View File

@@ -50,6 +50,7 @@
#include <algorithm>
#include <dirent.h>
#include <eitd/sectionsd.h>
@@ -240,8 +241,6 @@ bool COsdLangSetup::changeNotify(const neutrino_locale_t, void *)
return true;
}
void sectionsd_set_languages(const std::vector<std::string>& newLanguages);
bool CLangSelectNotifier::changeNotify(const neutrino_locale_t, void *)
{
std::vector<std::string> v_languages;
@@ -267,8 +266,7 @@ bool CLangSelectNotifier::changeNotify(const neutrino_locale_t, void *)
}
}
}
//if(found)
sectionsd_set_languages(v_languages);
CEitManager::getInstance()->setLanguages(v_languages);
return false;
}