summaryrefslogtreecommitdiff
path: root/glcdskin/config.c
blob: c7334271e47f667f9cdf0a971f28e21a64ec06fc (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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
#include "config.h"
#include "type.h"

#include <sys/time.h>

namespace GLCD
{

std::string cSkinConfig::SkinPath(void)
{
    return ".";
}

std::string cSkinConfig::FontPath(void)
{
    return ".";
}

std::string cSkinConfig::CharSet(void)
{
    return "iso-8859-15";
}

std::string cSkinConfig::Translate(const std::string & Text)
{
    return Text;
}

cType cSkinConfig::GetToken(const tSkinToken & Token)
{
    return "";
}

int cSkinConfig::GetTokenId(const std::string & Name)
{
    return 0;
}

int cSkinConfig::GetTabPosition(int Index, int MaxWidth, const cFont & Font)
{
    return 0;
}

uint64_t cSkinConfig::Now(void)
{
    struct timeval tv;

    gettimeofday(&tv, 0);
    return (uint64_t)(tv.tv_sec * 1000 + tv.tv_usec / 1000);
}


} // end of namespace