summaryrefslogtreecommitdiff
path: root/p2pvr/ice/converters.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'p2pvr/ice/converters.cpp')
-rw-r--r--p2pvr/ice/converters.cpp30
1 files changed, 0 insertions, 30 deletions
diff --git a/p2pvr/ice/converters.cpp b/p2pvr/ice/converters.cpp
index 2b5f653..c4e9332 100644
--- a/p2pvr/ice/converters.cpp
+++ b/p2pvr/ice/converters.cpp
@@ -1,36 +1,6 @@
-#include <variableType.h>
#include <common.h>
-#include <iceConvert.h>
#include "commonHelpers.h"
-template<>
-VariableType
-DLL_PUBLIC IceConvert<Common::DateTime>::ToVariable(const Common::DateTime & dt)
-{
- return *dt;
-}
-
-template<>
-VariableType
-DLL_PUBLIC IceConvert<Common::Duration>::ToVariable(const Common::Duration & d)
-{
- return *d;
-}
-
-template<>
-Common::DateTime
-DLL_PUBLIC IceConvert<Common::DateTime>::FromVariable(const VariableType & dt)
-{
- return *dt.as<boost::posix_time::ptime>();
-}
-
-template<>
-Common::Duration
-DLL_PUBLIC IceConvert<Common::Duration>::FromVariable(const VariableType & d)
-{
- return *d.as<boost::posix_time::time_duration>();
-}
-
namespace Slicer {
Common::DateTime
DLL_PUBLIC ptimeToDateTime(boost::posix_time::ptime const & p)