summaryrefslogtreecommitdiff
path: root/util.h
diff options
context:
space:
mode:
authorDimitar Petrovski <dimeptr@gmail.com>2012-05-24 10:49:55 +0200
committerDimitar Petrovski <dimeptr@gmail.com>2012-05-24 10:49:55 +0200
commit80c9c7fa84f17dbe2779c2a27dac82a001e33101 (patch)
tree6f3d49ea78d94d2d46589c2100de6686da69e227 /util.h
parent7089617d8186143cfe946596dfafd650cb3028f9 (diff)
downloadvdr-plugin-eepg-80c9c7fa84f17dbe2779c2a27dac82a001e33101.tar.gz
vdr-plugin-eepg-80c9c7fa84f17dbe2779c2a27dac82a001e33101.tar.bz2
add namespace util
Diffstat (limited to 'util.h')
-rw-r--r--util.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/util.h b/util.h
index a94390a..8c12184 100644
--- a/util.h
+++ b/util.h
@@ -7,9 +7,14 @@
#ifndef UTIL_H_
#define UTIL_H_
+#include <time.h>
+class cChannel;
+struct tChannelID;
+namespace util
+{
int AvailableSources[32];
-int NumberOfAvailableSources;
+int NumberOfAvailableSources = 0;
int Yesterday;
int YesterdayEpoch;
@@ -20,5 +25,5 @@ time_t LocalTime2UTC (time_t t);
time_t UTC2LocalTime (time_t t);
void GetLocalTimeOffset (void);
void CleanString (unsigned char *String);
-
+}
#endif /* UTIL_H_ */