summaryrefslogtreecommitdiff
path: root/i18n.h
blob: bedba3703ac78b2069c607ba5295681c54dab7d9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#ifndef VDR_LIVE_I18N_H
#define VDR_LIVE_I18N_H

#include <string>
#include <vdr/config.h>
#include <vdr/i18n.h>

namespace vdrlive {

class I18n
{
	friend I18n& LiveI18n();

	private:
		std::string m_encoding;

		I18n( I18n const& ); // don't copy
		I18n();

	public:
		std::string const& CharacterEncoding() const { return m_encoding; }
};

I18n& LiveI18n();

#if VDRVERSNUM < 10507
extern const tI18nPhrase Phrases[];
#endif

} // namespace vdrlive

#endif // VDR_LIVE_I18N_H