neutrino: fix file location.

This commit is contained in:
[CST] Bas
2013-01-29 01:20:55 +08:00
parent d1046fd8a5
commit 1babe68529
2 changed files with 5 additions and 3 deletions

View File

@@ -22,6 +22,10 @@
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*
*/
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include <string>
#include <vector>
#include <map>
@@ -32,7 +36,7 @@
#include "SIlanguage.hpp"
#define LANGUAGEFILE CONFIGDIR "/epglanguages.conf"
static const char LANGUAGEFILE[] = CONFIGDIR "/epglanguages.conf";
std::vector<std::string> SIlanguage::languages;
pthread_mutex_t SIlanguage::languages_lock = PTHREAD_MUTEX_INITIALIZER;

View File

@@ -29,8 +29,6 @@
#include <sectionsdclient/sectionsdclient.h>
#define LANGUAGEFILE "/var/tuxbox/config/epglanguages.conf"
class SIlanguage {
public:
static void filter(const std::map<std::string, std::string>& s, int max, std::string& retval);