From 80c9c7fa84f17dbe2779c2a27dac82a001e33101 Mon Sep 17 00:00:00 2001 From: Dimitar Petrovski Date: Thu, 24 May 2012 10:49:55 +0200 Subject: add namespace util --- util.h | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'util.h') 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 +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_ */ -- cgit v1.2.3