Symbian3/Examples/guid-6013a680-57f9-415b-8851-c4fa63356636/class_c_calendar_a_p_iexample_engine.html
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>TB9.2 Example Applications: CCalendarAPIexampleEngine Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<!-- Generated by Doxygen 1.6.2 -->
<div class="contents">
<h1>CCalendarAPIexampleEngine Class Reference</h1><!-- doxytag: class="CCalendarAPIexampleEngine" --><!-- doxytag: inherits="MCalendarEngineCommandsInterface" -->
<p>Inherits <a class="el" href="class_m_calendar_engine_commands_interface.html">MCalendarEngineCommandsInterface</a>.</p>
<p><a href="class_c_calendar_a_p_iexample_engine-members.html">List of all members.</a></p>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td colspan="2"><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_calendar_a_p_iexample_engine.html#a23ebb701be19fa40918d52c27a92c3d5">~CCalendarAPIexampleEngine</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_calendar_a_p_iexample_engine.html#a49bd7e0013f25b4f7a646d326c23cd02">AddAnniversaryL</a> (CCalEntry *aAnniv)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_calendar_a_p_iexample_engine.html#ae0e66fc7880379936e7b972dd5802432">UpdateAnniversaryL</a> (CCalEntry *aAnniv)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_calendar_a_p_iexample_engine.html#a5ceaf50f3280a0ff856d8a5587360237">DeleteAnniversaryL</a> (CCalEntry *aAnniv)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_calendar_a_p_iexample_engine.html#ac3b7e15f745f89b94a308ae8367efb70">GetAnniversariesL</a> (const TDateTime &aFrom, const TDateTime &aTo, RPointerArray< CCalInstance > &aAnniversaries)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">TInt </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_calendar_a_p_iexample_engine.html#ace056abb20efb7e0fefe252ccf568dd1">EntryCount</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_c_cal_helper_entry.html">CCalHelperEntry</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_calendar_a_p_iexample_engine.html#a23d83b637beef3cf132e12889db837cc">Entry</a> (const TInt &aIndex)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_calendar_a_p_iexample_engine.html#a40c4ecbe11fb1efc7e4599e383154424">DoSearchL</a> (const TSearchType &aType)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_calendar_a_p_iexample_engine.html#ae156e27902003b8e052b374fe7d06736">DoAddL</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">TInt </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_calendar_a_p_iexample_engine.html#a850f1b1b40e497937af6f9b8d29295b0">ModifyIndex</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_calendar_a_p_iexample_engine.html#af6537fbb3939229bc63ba8becd9999ec">SetModifyIndex</a> (const TInt &aIndex)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_calendar_a_p_iexample_engine.html#a85a35524d5df8f1d17a1c514802d6b26">CreateEntryForModificationL</a> (TBool &aModify)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_calendar_a_p_iexample_engine.html#a7fd4e824c27d0b3fae4ef8e3557124d6">SaveL</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_calendar_a_p_iexample_engine.html#a1c52493e38c301b3a0d8557ed550368d">DoSaveL</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_calendar_a_p_iexample_engine.html#a025565532c28804df338f0a7df75a696">DeleteEntryL</a> (const TInt &aIndex)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">TBool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_calendar_a_p_iexample_engine.html#a5b889d02c363bd157c12ed85efd426a5">SetValuesToNewEntry</a> (const TDesC &aName, const TDateTime &aDate, const TBool &aAlarm, const TDateTime &aAlarmTime, const TInt &aSynchronizationMethod)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_calendar_a_p_iexample_engine.html#abd740ea4b118933e914bd6e75f233b99">GetValuesToSet</a> (TDes &aName, TTime &aDate, TBool &aAlarm, TTime &aAlarmTime, TInt &aSync)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_calendar_a_p_iexample_engine.html#ab9c813758126185e6ba0f20dea338aee">ExecuteDeletionL</a> ()</td></tr>
<tr><td colspan="2"><h2>Static Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="el" href="class_c_calendar_a_p_iexample_engine.html">CCalendarAPIexampleEngine</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_calendar_a_p_iexample_engine.html#a828ecb12001e4b37e25bd6cc797ec0e1">NewL</a> (<a class="el" href="class_m_calender_engine_observer_u_i.html">MCalenderEngineObserverUI</a> &aAppUi)</td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<p><a class="el" href="class_c_calendar_a_p_iexample_engine.html">CCalendarAPIexampleEngine</a> engine class. Provides support for the following features:</p>
<ul>
<li>Add anniversaries</li>
<li>Update anniversaries</li>
<li>Delete anniversaries</li>
<li>Finds anniversaries </li>
</ul>
<p>Definition at line <a class="el" href="_calendar_a_p_iexample_engine_8h_source.html#l00078">78</a> of file <a class="el" href="_calendar_a_p_iexample_engine_8h_source.html">CalendarAPIexampleEngine.h</a>.</p>
<hr/><h2>Constructor & Destructor Documentation</h2>
<a class="anchor" id="a23ebb701be19fa40918d52c27a92c3d5"></a><!-- doxytag: member="CCalendarAPIexampleEngine::~CCalendarAPIexampleEngine" ref="a23ebb701be19fa40918d52c27a92c3d5" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">CCalendarAPIexampleEngine::~CCalendarAPIexampleEngine </td>
<td>(</td>
<td class="paramname"></td>
<td> ) </td>
<td><code> [virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Destructor. </p>
<p>Definition at line <a class="el" href="_calendar_a_p_iexample_engine_8cpp_source.html#l00045">45</a> of file <a class="el" href="_calendar_a_p_iexample_engine_8cpp_source.html">CalendarAPIexampleEngine.cpp</a>.</p>
</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a828ecb12001e4b37e25bd6cc797ec0e1"></a><!-- doxytag: member="CCalendarAPIexampleEngine::NewL" ref="a828ecb12001e4b37e25bd6cc797ec0e1" args="(MCalenderEngineObserverUI &aAppUi)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="class_c_calendar_a_p_iexample_engine.html">CCalendarAPIexampleEngine</a> * CCalendarAPIexampleEngine::NewL </td>
<td>(</td>
<td class="paramtype"><a class="el" href="class_m_calender_engine_observer_u_i.html">MCalenderEngineObserverUI</a> & </td>
<td class="paramname"> <em>aAppUi</em></td>
<td> ) </td>
<td><code> [static]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Two-phased constructor. </p>
<p>Definition at line <a class="el" href="_calendar_a_p_iexample_engine_8cpp_source.html#l00087">87</a> of file <a class="el" href="_calendar_a_p_iexample_engine_8cpp_source.html">CalendarAPIexampleEngine.cpp</a>.</p>
</div>
</div>
<a class="anchor" id="a49bd7e0013f25b4f7a646d326c23cd02"></a><!-- doxytag: member="CCalendarAPIexampleEngine::AddAnniversaryL" ref="a49bd7e0013f25b4f7a646d326c23cd02" args="(CCalEntry *aAnniv)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void CCalendarAPIexampleEngine::AddAnniversaryL </td>
<td>(</td>
<td class="paramtype">CCalEntry * </td>
<td class="paramname"> <em>aAnniv</em></td>
<td> ) </td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p><a class="el" href="class_c_calendar_a_p_iexample_engine.html#a49bd7e0013f25b4f7a646d326c23cd02">AddAnniversaryL()</a></p>
<p>Adds an anniversary to the agenda file. param aAnniv - CCalEntry object that is added to the agenda file </p>
<p>Definition at line <a class="el" href="_calendar_a_p_iexample_engine_8cpp_source.html#l00218">218</a> of file <a class="el" href="_calendar_a_p_iexample_engine_8cpp_source.html">CalendarAPIexampleEngine.cpp</a>.</p>
</div>
</div>
<a class="anchor" id="ae0e66fc7880379936e7b972dd5802432"></a><!-- doxytag: member="CCalendarAPIexampleEngine::UpdateAnniversaryL" ref="ae0e66fc7880379936e7b972dd5802432" args="(CCalEntry *aAnniv)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void CCalendarAPIexampleEngine::UpdateAnniversaryL </td>
<td>(</td>
<td class="paramtype">CCalEntry * </td>
<td class="paramname"> <em>aAnniv</em></td>
<td> ) </td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p><a class="el" href="class_c_calendar_a_p_iexample_engine.html#ae0e66fc7880379936e7b972dd5802432">UpdateAnniversaryL()</a></p>
<p>Updates an anniversarys data to the agenda file. param aAnniv - CCalEntry object that is updated </p>
<p>Definition at line <a class="el" href="_calendar_a_p_iexample_engine_8cpp_source.html#l00253">253</a> of file <a class="el" href="_calendar_a_p_iexample_engine_8cpp_source.html">CalendarAPIexampleEngine.cpp</a>.</p>
</div>
</div>
<a class="anchor" id="a5ceaf50f3280a0ff856d8a5587360237"></a><!-- doxytag: member="CCalendarAPIexampleEngine::DeleteAnniversaryL" ref="a5ceaf50f3280a0ff856d8a5587360237" args="(CCalEntry *aAnniv)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void CCalendarAPIexampleEngine::DeleteAnniversaryL </td>
<td>(</td>
<td class="paramtype">CCalEntry * </td>
<td class="paramname"> <em>aAnniv</em></td>
<td> ) </td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p><a class="el" href="class_c_calendar_a_p_iexample_engine.html#a5ceaf50f3280a0ff856d8a5587360237">DeleteAnniversaryL()</a></p>
<p>Deletes an anniversary from the agenda file. param aAnniv - CCalEntry object that is deleted from the agenda file </p>
</div>
</div>
<a class="anchor" id="ac3b7e15f745f89b94a308ae8367efb70"></a><!-- doxytag: member="CCalendarAPIexampleEngine::GetAnniversariesL" ref="ac3b7e15f745f89b94a308ae8367efb70" args="(const TDateTime &aFrom, const TDateTime &aTo, RPointerArray< CCalInstance > &aAnniversaries)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void CCalendarAPIexampleEngine::GetAnniversariesL </td>
<td>(</td>
<td class="paramtype">const TDateTime & </td>
<td class="paramname"> <em>aFrom</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const TDateTime & </td>
<td class="paramname"> <em>aTo</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">RPointerArray< CCalInstance > & </td>
<td class="paramname"> <em>aAnniversaries</em></td><td> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p><a class="el" href="class_c_calendar_a_p_iexample_engine.html#ac3b7e15f745f89b94a308ae8367efb70">GetAnniversariesL()</a></p>
<p>Finds all anniversaries within given time interval. param aFrom - date where the searching begins param aTo - date where the search ends param aAnniversaries - found anniversaries are put to this array. </p>
</div>
</div>
<a class="anchor" id="ace056abb20efb7e0fefe252ccf568dd1"></a><!-- doxytag: member="CCalendarAPIexampleEngine::EntryCount" ref="ace056abb20efb7e0fefe252ccf568dd1" args="() const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">TInt CCalendarAPIexampleEngine::EntryCount </td>
<td>(</td>
<td class="paramname"></td>
<td> ) </td>
<td> const<code> [virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p><a class="el" href="class_c_calendar_a_p_iexample_engine.html#ace056abb20efb7e0fefe252ccf568dd1">EntryCount()</a></p>
<p>Returns the number of found anniversaries. </p>
<p>Implements <a class="el" href="class_m_calendar_engine_commands_interface.html">MCalendarEngineCommandsInterface</a>.</p>
<p>Definition at line <a class="el" href="_calendar_a_p_iexample_engine_8cpp_source.html#l00574">574</a> of file <a class="el" href="_calendar_a_p_iexample_engine_8cpp_source.html">CalendarAPIexampleEngine.cpp</a>.</p>
</div>
</div>
<a class="anchor" id="a23d83b637beef3cf132e12889db837cc"></a><!-- doxytag: member="CCalendarAPIexampleEngine::Entry" ref="a23d83b637beef3cf132e12889db837cc" args="(const TInt &aIndex)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="class_c_cal_helper_entry.html">CCalHelperEntry</a> & CCalendarAPIexampleEngine::Entry </td>
<td>(</td>
<td class="paramtype">const TInt & </td>
<td class="paramname"> <em>aIndex</em></td>
<td> ) </td>
<td><code> [virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p><a class="el" href="class_c_calendar_a_p_iexample_engine.html#a23d83b637beef3cf132e12889db837cc">Entry()</a></p>
<p>Returns a reference to an entry. param aIndex - index of the wanted entry. </p>
<p>Implements <a class="el" href="class_m_calendar_engine_commands_interface.html">MCalendarEngineCommandsInterface</a>.</p>
<p>Definition at line <a class="el" href="_calendar_a_p_iexample_engine_8cpp_source.html#l00629">629</a> of file <a class="el" href="_calendar_a_p_iexample_engine_8cpp_source.html">CalendarAPIexampleEngine.cpp</a>.</p>
</div>
</div>
<a class="anchor" id="a40c4ecbe11fb1efc7e4599e383154424"></a><!-- doxytag: member="CCalendarAPIexampleEngine::DoSearchL" ref="a40c4ecbe11fb1efc7e4599e383154424" args="(const TSearchType &aType)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void CCalendarAPIexampleEngine::DoSearchL </td>
<td>(</td>
<td class="paramtype">const TSearchType & </td>
<td class="paramname"> <em>aType</em></td>
<td> ) </td>
<td><code> [virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p><a class="el" href="class_c_calendar_a_p_iexample_engine.html#a40c4ecbe11fb1efc7e4599e383154424">DoSearchL()</a></p>
<p>Finds all anniversaries in given time interval. param aType - search interval (week, month...) </p>
<p>Implements <a class="el" href="class_m_calendar_engine_commands_interface.html">MCalendarEngineCommandsInterface</a>.</p>
<p>Definition at line <a class="el" href="_calendar_a_p_iexample_engine_8cpp_source.html#l00289">289</a> of file <a class="el" href="_calendar_a_p_iexample_engine_8cpp_source.html">CalendarAPIexampleEngine.cpp</a>.</p>
</div>
</div>
<a class="anchor" id="ae156e27902003b8e052b374fe7d06736"></a><!-- doxytag: member="CCalendarAPIexampleEngine::DoAddL" ref="ae156e27902003b8e052b374fe7d06736" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void CCalendarAPIexampleEngine::DoAddL </td>
<td>(</td>
<td class="paramname"></td>
<td> ) </td>
<td><code> [virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p><a class="el" href="class_c_calendar_a_p_iexample_engine.html#ae156e27902003b8e052b374fe7d06736">DoAddL()</a></p>
<p>Activates the proper view for adding entries. </p>
<p>Implements <a class="el" href="class_m_calendar_engine_commands_interface.html">MCalendarEngineCommandsInterface</a>.</p>
<p>Definition at line <a class="el" href="_calendar_a_p_iexample_engine_8cpp_source.html#l00428">428</a> of file <a class="el" href="_calendar_a_p_iexample_engine_8cpp_source.html">CalendarAPIexampleEngine.cpp</a>.</p>
</div>
</div>
<a class="anchor" id="a850f1b1b40e497937af6f9b8d29295b0"></a><!-- doxytag: member="CCalendarAPIexampleEngine::ModifyIndex" ref="a850f1b1b40e497937af6f9b8d29295b0" args="() const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">TInt CCalendarAPIexampleEngine::ModifyIndex </td>
<td>(</td>
<td class="paramname"></td>
<td> ) </td>
<td> const<code> [virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p><a class="el" href="class_c_calendar_a_p_iexample_engine.html#a850f1b1b40e497937af6f9b8d29295b0">ModifyIndex()</a></p>
<p>Returns the modify index. </p>
<p>Implements <a class="el" href="class_m_calendar_engine_commands_interface.html">MCalendarEngineCommandsInterface</a>.</p>
<p>Definition at line <a class="el" href="_calendar_a_p_iexample_engine_8cpp_source.html#l00649">649</a> of file <a class="el" href="_calendar_a_p_iexample_engine_8cpp_source.html">CalendarAPIexampleEngine.cpp</a>.</p>
</div>
</div>
<a class="anchor" id="af6537fbb3939229bc63ba8becd9999ec"></a><!-- doxytag: member="CCalendarAPIexampleEngine::SetModifyIndex" ref="af6537fbb3939229bc63ba8becd9999ec" args="(const TInt &aIndex)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void CCalendarAPIexampleEngine::SetModifyIndex </td>
<td>(</td>
<td class="paramtype">const TInt & </td>
<td class="paramname"> <em>aIndex</em></td>
<td> ) </td>
<td><code> [virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p><a class="el" href="class_c_calendar_a_p_iexample_engine.html#af6537fbb3939229bc63ba8becd9999ec">SetModifyIndex()</a></p>
<p>Sets the modify index to given index. Modify index is used when calling CreateEntryForModificationL. param aIndex - modify index is set to this index </p>
<p>Implements <a class="el" href="class_m_calendar_engine_commands_interface.html">MCalendarEngineCommandsInterface</a>.</p>
<p>Definition at line <a class="el" href="_calendar_a_p_iexample_engine_8cpp_source.html#l00528">528</a> of file <a class="el" href="_calendar_a_p_iexample_engine_8cpp_source.html">CalendarAPIexampleEngine.cpp</a>.</p>
</div>
</div>
<a class="anchor" id="a85a35524d5df8f1d17a1c514802d6b26"></a><!-- doxytag: member="CCalendarAPIexampleEngine::CreateEntryForModificationL" ref="a85a35524d5df8f1d17a1c514802d6b26" args="(TBool &aModify)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void CCalendarAPIexampleEngine::CreateEntryForModificationL </td>
<td>(</td>
<td class="paramtype">TBool & </td>
<td class="paramname"> <em>aModify</em></td>
<td> ) </td>
<td><code> [virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p><a class="el" href="class_c_calendar_a_p_iexample_engine.html#a85a35524d5df8f1d17a1c514802d6b26">CreateEntryForModificationL()</a></p>
<p>Returns a reference to an entry. If iModifyIndex is negative, a new entry is created, otherwise a reference to an existing entry (defined by iModifyIndex) is returned. param aModify - is set to EFalse if a new entry was created and ETrue if existing entry was returned. </p>
<p>Implements <a class="el" href="class_m_calendar_engine_commands_interface.html">MCalendarEngineCommandsInterface</a>.</p>
<p>Definition at line <a class="el" href="_calendar_a_p_iexample_engine_8cpp_source.html#l00550">550</a> of file <a class="el" href="_calendar_a_p_iexample_engine_8cpp_source.html">CalendarAPIexampleEngine.cpp</a>.</p>
</div>
</div>
<a class="anchor" id="a7fd4e824c27d0b3fae4ef8e3557124d6"></a><!-- doxytag: member="CCalendarAPIexampleEngine::SaveL" ref="a7fd4e824c27d0b3fae4ef8e3557124d6" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void CCalendarAPIexampleEngine::SaveL </td>
<td>(</td>
<td class="paramname"></td>
<td> ) </td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p><a class="el" href="class_c_calendar_a_p_iexample_engine.html#a7fd4e824c27d0b3fae4ef8e3557124d6">SaveL()</a></p>
<p>Adds or updates the current entry to the agenda file. Current entry is defined by calling <a class="el" href="class_c_calendar_a_p_iexample_engine.html#a85a35524d5df8f1d17a1c514802d6b26">CreateEntryForModificationL()</a>. </p>
</div>
</div>
<a class="anchor" id="a1c52493e38c301b3a0d8557ed550368d"></a><!-- doxytag: member="CCalendarAPIexampleEngine::DoSaveL" ref="a1c52493e38c301b3a0d8557ed550368d" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void CCalendarAPIexampleEngine::DoSaveL </td>
<td>(</td>
<td class="paramname"></td>
<td> ) </td>
<td><code> [virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p><a class="el" href="class_c_calendar_a_p_iexample_engine.html#a1c52493e38c301b3a0d8557ed550368d">DoSaveL()</a> Called from the views when there's a need to save data. </p>
<p>Implements <a class="el" href="class_m_calendar_engine_commands_interface.html">MCalendarEngineCommandsInterface</a>.</p>
<p>Definition at line <a class="el" href="_calendar_a_p_iexample_engine_8cpp_source.html#l00443">443</a> of file <a class="el" href="_calendar_a_p_iexample_engine_8cpp_source.html">CalendarAPIexampleEngine.cpp</a>.</p>
</div>
</div>
<a class="anchor" id="a025565532c28804df338f0a7df75a696"></a><!-- doxytag: member="CCalendarAPIexampleEngine::DeleteEntryL" ref="a025565532c28804df338f0a7df75a696" args="(const TInt &aIndex)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void CCalendarAPIexampleEngine::DeleteEntryL </td>
<td>(</td>
<td class="paramtype">const TInt & </td>
<td class="paramname"> <em>aIndex</em></td>
<td> ) </td>
<td><code> [virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p><a class="el" href="class_c_calendar_a_p_iexample_engine.html#a025565532c28804df338f0a7df75a696">DeleteEntryL()</a></p>
<p>Deletes an entry from the agenda file. param aIndex - index of which entry is deleted. </p>
<p>Implements <a class="el" href="class_m_calendar_engine_commands_interface.html">MCalendarEngineCommandsInterface</a>.</p>
<p>Definition at line <a class="el" href="_calendar_a_p_iexample_engine_8cpp_source.html#l00373">373</a> of file <a class="el" href="_calendar_a_p_iexample_engine_8cpp_source.html">CalendarAPIexampleEngine.cpp</a>.</p>
</div>
</div>
<a class="anchor" id="a5b889d02c363bd157c12ed85efd426a5"></a><!-- doxytag: member="CCalendarAPIexampleEngine::SetValuesToNewEntry" ref="a5b889d02c363bd157c12ed85efd426a5" args="(const TDesC &aName, const TDateTime &aDate, const TBool &aAlarm, const TDateTime &aAlarmTime, const TInt &aSynchronizationMethod)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">TBool CCalendarAPIexampleEngine::SetValuesToNewEntry </td>
<td>(</td>
<td class="paramtype">const TDesC & </td>
<td class="paramname"> <em>aName</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const TDateTime & </td>
<td class="paramname"> <em>aDate</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const TBool & </td>
<td class="paramname"> <em>aAlarm</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const TDateTime & </td>
<td class="paramname"> <em>aAlarmTime</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const TInt & </td>
<td class="paramname"> <em>aSynchronizationMethod</em></td><td> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td><code> [virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p><a class="el" href="class_c_calendar_a_p_iexample_engine.html#a5b889d02c363bd157c12ed85efd426a5">SetValuesToNewEntry()</a></p>
<p>Called by the view when there are values to be set to the new entry </p>
<p>Implements <a class="el" href="class_m_calendar_engine_commands_interface.html">MCalendarEngineCommandsInterface</a>.</p>
<p>Definition at line <a class="el" href="_calendar_a_p_iexample_engine_8cpp_source.html#l00579">579</a> of file <a class="el" href="_calendar_a_p_iexample_engine_8cpp_source.html">CalendarAPIexampleEngine.cpp</a>.</p>
</div>
</div>
<a class="anchor" id="abd740ea4b118933e914bd6e75f233b99"></a><!-- doxytag: member="CCalendarAPIexampleEngine::GetValuesToSet" ref="abd740ea4b118933e914bd6e75f233b99" args="(TDes &aName, TTime &aDate, TBool &aAlarm, TTime &aAlarmTime, TInt &aSync)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void CCalendarAPIexampleEngine::GetValuesToSet </td>
<td>(</td>
<td class="paramtype">TDes & </td>
<td class="paramname"> <em>aName</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">TTime & </td>
<td class="paramname"> <em>aDate</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">TBool & </td>
<td class="paramname"> <em>aAlarm</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">TTime & </td>
<td class="paramname"> <em>aAlarmTime</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">TInt & </td>
<td class="paramname"> <em>aSync</em></td><td> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td><code> [virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p><a class="el" href="class_c_calendar_a_p_iexample_engine.html#abd740ea4b118933e914bd6e75f233b99">GetValuesToSet()</a></p>
<p>Called by the view to get the values to be set </p>
<p>Implements <a class="el" href="class_m_calendar_engine_commands_interface.html">MCalendarEngineCommandsInterface</a>.</p>
<p>Definition at line <a class="el" href="_calendar_a_p_iexample_engine_8cpp_source.html#l00599">599</a> of file <a class="el" href="_calendar_a_p_iexample_engine_8cpp_source.html">CalendarAPIexampleEngine.cpp</a>.</p>
</div>
</div>
<a class="anchor" id="ab9c813758126185e6ba0f20dea338aee"></a><!-- doxytag: member="CCalendarAPIexampleEngine::ExecuteDeletionL" ref="ab9c813758126185e6ba0f20dea338aee" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void CCalendarAPIexampleEngine::ExecuteDeletionL </td>
<td>(</td>
<td class="paramname"></td>
<td> ) </td>
<td><code> [virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Does the actual deletion of selected entry. </p>
<p>Implements <a class="el" href="class_m_calendar_engine_commands_interface.html">MCalendarEngineCommandsInterface</a>.</p>
<p>Definition at line <a class="el" href="_calendar_a_p_iexample_engine_8cpp_source.html#l00654">654</a> of file <a class="el" href="_calendar_a_p_iexample_engine_8cpp_source.html">CalendarAPIexampleEngine.cpp</a>.</p>
</div>
</div>
</div>
<hr size="1"/><address style="text-align: right;"><small>Generated by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.2 </small></address>
</body>
</html>