Symbian3/Examples/guid-6013a680-57f9-415b-8851-c4fa63356636/_calendar_a_p_iexample_entry_item_list_8h_source.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: examples/ForumNokia/CalendarExample/inc/CalendarAPIexampleEntryItemList.h Source File</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 -->
<h1>examples/ForumNokia/CalendarExample/inc/CalendarAPIexampleEntryItemList.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/*</span>
<a name="l00002"></a>00002 <span class="comment"> * Copyright © 2008 Nokia Corporation.</span>
<a name="l00003"></a>00003 <span class="comment"> */</span>
<a name="l00004"></a>00004 
<a name="l00005"></a>00005 
<a name="l00006"></a>00006 <span class="preprocessor">#ifndef CALENDARAPIEXAMPLEENTRYITEMLIST_H</span>
<a name="l00007"></a>00007 <span class="preprocessor"></span><span class="preprocessor">#define CALENDARAPIEXAMPLEENTRYITEMLIST_H</span>
<a name="l00008"></a>00008 <span class="preprocessor"></span>
<a name="l00009"></a>00009 <span class="comment">// INCLUDE FILES</span>
<a name="l00010"></a>00010 <span class="preprocessor">#include &lt;aknsettingitemlist.h&gt;</span>
<a name="l00011"></a>00011 <span class="preprocessor">#include &quot;calendarapiexample.hrh&quot;</span>
<a name="l00012"></a>00012 
<a name="l00013"></a>00013 <span class="comment">// FORWARD DECLARATIONS</span>
<a name="l00014"></a>00014 <span class="keyword">class </span><a class="code" href="class_c_cal_helper_entry.html">CCalHelperEntry</a>;
<a name="l00015"></a>00015 <span class="keyword">class </span>CAknView;
<a name="l00016"></a>00016 
<a name="l00017"></a>00017 <span class="comment">// CLASS DECLARATION</span>
<a name="l00018"></a>00018 
<a name="l00019"></a><a class="code" href="class_c_calendar_a_p_iexample_entry_item_list.html">00019</a> <span class="keyword">class </span><a class="code" href="class_c_calendar_a_p_iexample_entry_item_list.html">CCalendarAPIexampleEntryItemList</a> : <span class="keyword">public</span> CAknSettingItemList
<a name="l00020"></a>00020     {
<a name="l00021"></a>00021 <span class="keyword">public</span>: <span class="comment">// New functions</span>
<a name="l00022"></a>00022 
<a name="l00028"></a>00028     <span class="keywordtype">void</span> <a class="code" href="class_c_calendar_a_p_iexample_entry_item_list.html#a270370516b9a0b29c783ad8af407aa38">SetData</a>(<span class="keyword">const</span> <a class="code" href="class_c_cal_helper_entry.html">CCalHelperEntry</a>&amp; aData);
<a name="l00029"></a>00029         
<a name="l00036"></a>00036     TBool <a class="code" href="class_c_calendar_a_p_iexample_entry_item_list.html#a61fff90520e1583edf535434cf629f1b">SaveL</a>();
<a name="l00037"></a>00037 
<a name="l00043"></a>00043     <span class="keywordtype">void</span> <a class="code" href="class_c_calendar_a_p_iexample_entry_item_list.html#a19ad7c25fc24dab3d38f031ec6401394">GetValues</a>(TDes&amp; aName, TTime&amp; aDate,
<a name="l00044"></a>00044                    TBool&amp; aAlarm, TTime&amp; aAlarmTime,
<a name="l00045"></a>00045                             TInt&amp; aSync);
<a name="l00046"></a>00046     
<a name="l00047"></a>00047     <span class="keywordtype">void</span> SetValues(         <span class="keyword">const</span> TDesC&amp; aName,
<a name="l00048"></a>00048                             <span class="keyword">const</span> TDateTime&amp; aDate,
<a name="l00049"></a>00049                             <span class="keyword">const</span> TBool&amp; aAlarm,
<a name="l00050"></a>00050                             <span class="keyword">const</span> TDateTime&amp; aAlarmTime,
<a name="l00051"></a>00051                             <span class="keyword">const</span> TInt&amp; aSync);                            
<a name="l00056"></a>00056 <span class="keyword">private</span>: <span class="comment">// Functions from base classes</span>
<a name="l00057"></a>00057 
<a name="l00061"></a>00061     CAknSettingItem* CreateSettingItemL( TInt aIdentifier );
<a name="l00062"></a>00062 
<a name="l00063"></a>00063     
<a name="l00064"></a>00064 <span class="keyword">private</span>: <span class="comment">// Data members</span>
<a name="l00065"></a>00065 
<a name="l00066"></a>00066     TBuf&lt;KMaxNameLength&gt; iName;
<a name="l00067"></a>00067     TTime iDate;
<a name="l00068"></a>00068     TBool iAlarm;
<a name="l00069"></a>00069     TTime iAlarmDate;
<a name="l00070"></a>00070     TTime iAlarmTime;
<a name="l00071"></a>00071     TInt iSync;
<a name="l00072"></a>00072 
<a name="l00073"></a>00073     };
<a name="l00074"></a>00074 
<a name="l00075"></a>00075 <span class="preprocessor">#endif</span>
</pre></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>