mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 08:21:12 +02:00
neutrino: fix file location.
This commit is contained in:
@@ -22,6 +22,10 @@
|
|||||||
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
#ifdef HAVE_CONFIG_H
|
||||||
|
#include <config.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
#include <map>
|
#include <map>
|
||||||
@@ -32,7 +36,7 @@
|
|||||||
|
|
||||||
#include "SIlanguage.hpp"
|
#include "SIlanguage.hpp"
|
||||||
|
|
||||||
#define LANGUAGEFILE CONFIGDIR "/epglanguages.conf"
|
static const char LANGUAGEFILE[] = CONFIGDIR "/epglanguages.conf";
|
||||||
|
|
||||||
std::vector<std::string> SIlanguage::languages;
|
std::vector<std::string> SIlanguage::languages;
|
||||||
pthread_mutex_t SIlanguage::languages_lock = PTHREAD_MUTEX_INITIALIZER;
|
pthread_mutex_t SIlanguage::languages_lock = PTHREAD_MUTEX_INITIALIZER;
|
||||||
|
@@ -29,8 +29,6 @@
|
|||||||
|
|
||||||
#include <sectionsdclient/sectionsdclient.h>
|
#include <sectionsdclient/sectionsdclient.h>
|
||||||
|
|
||||||
#define LANGUAGEFILE "/var/tuxbox/config/epglanguages.conf"
|
|
||||||
|
|
||||||
class SIlanguage {
|
class SIlanguage {
|
||||||
public:
|
public:
|
||||||
static void filter(const std::map<std::string, std::string>& s, int max, std::string& retval);
|
static void filter(const std::map<std::string, std::string>& s, int max, std::string& retval);
|
||||||
|
Reference in New Issue
Block a user