calendarui/caleneditor/src/caleneditor.cpp
changeset 55 2c54b51f39c4
parent 51 0b38fc5b94c6
child 57 bb2d3e476f29
--- a/calendarui/caleneditor/src/caleneditor.cpp	Mon Jul 12 02:32:28 2010 +0530
+++ b/calendarui/caleneditor/src/caleneditor.cpp	Mon Jul 26 13:54:38 2010 +0530
@@ -148,5 +148,13 @@
 	d_ptr->create(type, entry, launchCalendar);
 	OstTraceFunctionExit0( DUP2_CALENEDITOR_CREATE_EXIT );
 }
+/*!
+    Save the entry from editor 
+    should be called only if  edit or create function of editor has called. 
+ */
+void CalenEditor::saveAndCloseEditor()
+{
+    d_ptr->forcedSaveEntry();
+}
 
 // End of file	--Don't remove this.