summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2015-01-28 19:50:32 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2015-06-13 17:29:49 +0100
commit0d8321efea0ba5f932742d348aefa944685d1994 (patch)
treecdbe26c5020101eb4295b03209b72bccd8808f0a
parentMove some bits from lib into more focused parts (diff)
downloadp2pvr-0d8321efea0ba5f932742d348aefa944685d1994.tar.bz2
p2pvr-0d8321efea0ba5f932742d348aefa944685d1994.tar.xz
p2pvr-0d8321efea0ba5f932742d348aefa944685d1994.zip
Correct location of cpp:include directive for datetime conversions
-rw-r--r--p2pvr/ice/common.ice2
-rw-r--r--p2pvr/ice/dvbsi.ice2
2 files changed, 2 insertions, 2 deletions
diff --git a/p2pvr/ice/common.ice b/p2pvr/ice/common.ice
index 47868cd..3dc309c 100644
--- a/p2pvr/ice/common.ice
+++ b/p2pvr/ice/common.ice
@@ -1,6 +1,8 @@
#ifndef COMMON_ICE
#define COMMON_ICE
+[["cpp:include:boost/date_time/posix_time/posix_time_types.hpp"]]
+
module Common {
[ "slicer:conversion:boost.posix_time.ptime:ptimeToDateTime:dateTimeToPTime" ]
struct DateTime {
diff --git a/p2pvr/ice/dvbsi.ice b/p2pvr/ice/dvbsi.ice
index 6144455..aae3fd2 100644
--- a/p2pvr/ice/dvbsi.ice
+++ b/p2pvr/ice/dvbsi.ice
@@ -1,8 +1,6 @@
#ifndef DVISI_ICE
#define DVISI_ICE
-[["cpp:include:boost/date_time/posix_time/posix_time_types.hpp"]]
-
#include "common.ice"
// This attempts to define an ICE representation of domain objects contained