--- a/calendarui/editors/inc/calenunifiededitorcontrol.h Wed Sep 01 12:32:31 2010 +0100
+++ b/calendarui/editors/inc/calenunifiededitorcontrol.h Tue Sep 14 21:17:03 2010 +0300
@@ -24,6 +24,7 @@
// user includes
#include "CalenEditorDataHandler.h"
+#include "CalenEntryUtil.h"
// forward declaration
class CCalenUnifiedEditor;
@@ -35,6 +36,8 @@
class CCalenDbField;
class CCalenDescription;
class MCalenServices;
+class CKoreanLunarDateEditor;
+class CKoreanLunarTypeField;
/**
* CCalenUnifiedEditorControl class declaration
@@ -169,6 +172,12 @@
* @param aNewEventType Holds the new event type selected in editor
*/
void OnEventTypeChangedL( CCalEntry::TType aNewEventType );
+
+ /**
+ * @brief Handles lunar event type changed
+ * @param aNewEventType Holds the new event type selected in editor
+ */
+ void OnLunarTypeChangedL( TLunarCalendarType aNewEventType );
/**
* @brief Reads editor data mainly for collapsed editor
@@ -338,7 +347,17 @@
* in updating the EndTime of editor on StartTime change.
*/
void UpdateMeetingDurationL();
-
+
+ /**
+ * @brief Setups Lunar Fields
+ */
+ void SetupLunarFields();
+
+ /**
+ * @brief Updates Lunar Date Fields
+ */
+ void UpdateLunarDateFields();
+
private:
/**
@@ -395,6 +414,29 @@
*/
TTimeIntervalMinutes iMeetingInterval;
+ /**
+ * @var iKoreanLunarDateEditor
+ * @brief Korean lunar data editor
+ */
+ CKoreanLunarDateEditor* iKoreanLunarDateEditor;
+
+ /**
+ * @var iKoreanLunarTypeField
+ * @brief Korean lunar type field
+ */
+ CKoreanLunarTypeField* iKoreanLunarTypeField;
+
+ /**
+ * @var iPrevLunarType
+ * @brief previous lunar type
+ */
+ TLunarCalendarType iPrevLunarType;
+
+ /**
+ * True if FeatureManager is initialized.
+ */
+ TBool iFeatMgrInitialized;
+
};
#endif // _CALENUNIFIEDEDITORCONTROL_H
\ No newline at end of file