calendarui/globaldata/src/calencontextimpl.cpp
branchRCL_3
changeset 31 97232defd20e
parent 30 bd7edf625bdd
--- a/calendarui/globaldata/src/calencontextimpl.cpp	Wed Sep 01 12:32:31 2010 +0100
+++ b/calendarui/globaldata/src/calencontextimpl.cpp	Tue Sep 14 21:17:03 2010 +0300
@@ -309,6 +309,36 @@
     }
 
 // -----------------------------------------------------------------------------
+// CCalenContextImpl::SetStartAndEndTimeForNewInstance
+// Sets the start and end time of the instance that has to be created.
+// (other items were commented in a header).
+// -----------------------------------------------------------------------------
+//
+void CCalenContextImpl::SetStartAndEndTimeForNewInstance( const TTime& aStartTime,
+                                                      const TTime& aEndTime )
+    {
+	TRACE_ENTRY_POINT;
+    iNewInstStartTime = aStartTime;
+    iNewInstEndTime = aEndTime;
+	TRACE_EXIT_POINT;
+    }
+ 
+// -----------------------------------------------------------------------------
+// CCalenContextImpl::GetStartAndEndTimeForNewInstance
+// Gets the start and end time of the instance that has to be created.
+// (other items were commented in a header).
+// -----------------------------------------------------------------------------
+//
+void CCalenContextImpl::GetStartAndEndTimeForNewInstance( TTime& aStartTime,
+                                                        TTime& aEndTime )
+    {
+	TRACE_ENTRY_POINT;
+    aStartTime = iNewInstStartTime;
+    aEndTime = iNewInstEndTime;
+	TRACE_EXIT_POINT;
+    }
+
+// -----------------------------------------------------------------------------
 // CCalenContextImpl::ViewId
 // Returns the view id
 // (other items were commented in a header).