diff options
Diffstat (limited to 'p2pvr/daemon/icetraySupport.h')
-rw-r--r-- | p2pvr/daemon/icetraySupport.h | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/p2pvr/daemon/icetraySupport.h b/p2pvr/daemon/icetraySupport.h index 4174665..c9b633b 100644 --- a/p2pvr/daemon/icetraySupport.h +++ b/p2pvr/daemon/icetraySupport.h @@ -2,12 +2,23 @@ #define P2PVR_ICETRAY_SUPPORT_H #include <abstractDatabaseClient.h> -#include <common.h> +#include <chrono.h> namespace IceTray { template<> void - AbstractDatabaseClient::bind1<Common::DateTime>(int x, DB::Command * cmd, const Common::DateTime &); + AbstractDatabaseClient::bind1<Chrono::DateTime>(int x, DB::Command * cmd, const Chrono::DateTime &); +} + +namespace std { + template<typename X> + ostream & operator<<(ostream & s, const Ice::optional<X> & x) + { + if (x) { + s << *x; + } + return s; + } } #endif |