Symbian3/Examples/guid-6013a680-57f9-415b-8851-c4fa63356636/class_c_calendar_a_p_iexample_engine.html
author Dominic Pinkman <dominic.pinkman@nokia.com>
Fri, 13 Aug 2010 16:47:46 +0100
changeset 14 578be2adaf3e
parent 6 43e37759235e
permissions -rw-r--r--
Week 32 contribution of PDK documentation content. See release notes for details. Fixes bug Bug 3582

<!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&nbsp;</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&nbsp;</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&nbsp;</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&nbsp;</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&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_calendar_a_p_iexample_engine.html#ac3b7e15f745f89b94a308ae8367efb70">GetAnniversariesL</a> (const TDateTime &amp;aFrom, const TDateTime &amp;aTo, RPointerArray&lt; CCalInstance &gt; &amp;aAnniversaries)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">TInt&nbsp;</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> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_calendar_a_p_iexample_engine.html#a23d83b637beef3cf132e12889db837cc">Entry</a> (const TInt &amp;aIndex)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_calendar_a_p_iexample_engine.html#a40c4ecbe11fb1efc7e4599e383154424">DoSearchL</a> (const TSearchType &amp;aType)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</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&nbsp;</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&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_calendar_a_p_iexample_engine.html#af6537fbb3939229bc63ba8becd9999ec">SetModifyIndex</a> (const TInt &amp;aIndex)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_calendar_a_p_iexample_engine.html#a85a35524d5df8f1d17a1c514802d6b26">CreateEntryForModificationL</a> (TBool &amp;aModify)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</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&nbsp;</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&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_calendar_a_p_iexample_engine.html#a025565532c28804df338f0a7df75a696">DeleteEntryL</a> (const TInt &amp;aIndex)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">TBool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_calendar_a_p_iexample_engine.html#a5b889d02c363bd157c12ed85efd426a5">SetValuesToNewEntry</a> (const TDesC &amp;aName, const TDateTime &amp;aDate, const TBool &amp;aAlarm, const TDateTime &amp;aAlarmTime, const TInt &amp;aSynchronizationMethod)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_calendar_a_p_iexample_engine.html#abd740ea4b118933e914bd6e75f233b99">GetValuesToSet</a> (TDes &amp;aName, TTime &amp;aDate, TBool &amp;aAlarm, TTime &amp;aAlarmTime, TInt &amp;aSync)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</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> *&nbsp;</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> &amp;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 &amp; 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>&nbsp;)&nbsp;</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 &amp;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> &amp;&nbsp;</td>
          <td class="paramname"> <em>aAppUi</em></td>
          <td>&nbsp;)&nbsp;</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 *&nbsp;</td>
          <td class="paramname"> <em>aAnniv</em></td>
          <td>&nbsp;)&nbsp;</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 *&nbsp;</td>
          <td class="paramname"> <em>aAnniv</em></td>
          <td>&nbsp;)&nbsp;</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 *&nbsp;</td>
          <td class="paramname"> <em>aAnniv</em></td>
          <td>&nbsp;)&nbsp;</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 &amp;aFrom, const TDateTime &amp;aTo, RPointerArray&lt; CCalInstance &gt; &amp;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 &amp;&nbsp;</td>
          <td class="paramname"> <em>aFrom</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const TDateTime &amp;&nbsp;</td>
          <td class="paramname"> <em>aTo</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">RPointerArray&lt; CCalInstance &gt; &amp;&nbsp;</td>
          <td class="paramname"> <em>aAnniversaries</em></td><td>&nbsp;</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>&nbsp;)&nbsp;</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 &amp;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> &amp; CCalendarAPIexampleEngine::Entry </td>
          <td>(</td>
          <td class="paramtype">const TInt &amp;&nbsp;</td>
          <td class="paramname"> <em>aIndex</em></td>
          <td>&nbsp;)&nbsp;</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 &amp;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 &amp;&nbsp;</td>
          <td class="paramname"> <em>aType</em></td>
          <td>&nbsp;)&nbsp;</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>&nbsp;)&nbsp;</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>&nbsp;)&nbsp;</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 &amp;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 &amp;&nbsp;</td>
          <td class="paramname"> <em>aIndex</em></td>
          <td>&nbsp;)&nbsp;</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 &amp;aModify)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void CCalendarAPIexampleEngine::CreateEntryForModificationL </td>
          <td>(</td>
          <td class="paramtype">TBool &amp;&nbsp;</td>
          <td class="paramname"> <em>aModify</em></td>
          <td>&nbsp;)&nbsp;</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>&nbsp;)&nbsp;</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>&nbsp;)&nbsp;</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 &amp;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 &amp;&nbsp;</td>
          <td class="paramname"> <em>aIndex</em></td>
          <td>&nbsp;)&nbsp;</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 &amp;aName, const TDateTime &amp;aDate, const TBool &amp;aAlarm, const TDateTime &amp;aAlarmTime, const TInt &amp;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 &amp;&nbsp;</td>
          <td class="paramname"> <em>aName</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const TDateTime &amp;&nbsp;</td>
          <td class="paramname"> <em>aDate</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const TBool &amp;&nbsp;</td>
          <td class="paramname"> <em>aAlarm</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const TDateTime &amp;&nbsp;</td>
          <td class="paramname"> <em>aAlarmTime</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const TInt &amp;&nbsp;</td>
          <td class="paramname"> <em>aSynchronizationMethod</em></td><td>&nbsp;</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 &amp;aName, TTime &amp;aDate, TBool &amp;aAlarm, TTime &amp;aAlarmTime, TInt &amp;aSync)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void CCalendarAPIexampleEngine::GetValuesToSet </td>
          <td>(</td>
          <td class="paramtype">TDes &amp;&nbsp;</td>
          <td class="paramname"> <em>aName</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">TTime &amp;&nbsp;</td>
          <td class="paramname"> <em>aDate</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">TBool &amp;&nbsp;</td>
          <td class="paramname"> <em>aAlarm</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">TTime &amp;&nbsp;</td>
          <td class="paramname"> <em>aAlarmTime</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">TInt &amp;&nbsp;</td>
          <td class="paramname"> <em>aSync</em></td><td>&nbsp;</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>&nbsp;)&nbsp;</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&nbsp;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.2 </small></address>
</body>
</html>