671 Clean( EAICalendarPlugin2EventSubject, lineUsage + 1 ); |
671 Clean( EAICalendarPlugin2EventSubject, lineUsage + 1 ); |
672 Clean( EAICalendarPlugin2EventLocation, lineUsage + 1 ); |
672 Clean( EAICalendarPlugin2EventLocation, lineUsage + 1 ); |
673 Clean( EAICalendarPlugin2EventTimeStart, lineUsage + 1 ); |
673 Clean( EAICalendarPlugin2EventTimeStart, lineUsage + 1 ); |
674 Clean( EAICalendarPlugin2EventTimeEnd, lineUsage + 1 ); |
674 Clean( EAICalendarPlugin2EventTimeEnd, lineUsage + 1 ); |
675 Clean( EAICalendarPlugin2EventTextSecondLine, lineUsage + 1 ); |
675 Clean( EAICalendarPlugin2EventTextSecondLine, lineUsage + 1 ); |
|
676 Clean( EAICalendarPlugin2TimeStartAndSubject, lineUsage + 1 ); |
676 |
677 |
677 if( ( iEventData->TomorrowEventArray().Count() > 0 ) && |
678 if( ( iEventData->TomorrowEventArray().Count() > 0 ) && |
678 ( iConstantData->iDaysToHandleAsNotToday == KAIRangeTomorrowOnly ) ) |
679 ( iConstantData->iDaysToHandleAsNotToday == KAIRangeTomorrowOnly ) ) |
679 { |
680 { |
680 if ( !iConstantData->iUseAlternateInfoPublish ) |
681 if ( !iConstantData->iUseAlternateInfoPublish ) |
802 { |
803 { |
803 // this change publish next event information to calendar info text instead of calendar entry text |
804 // this change publish next event information to calendar info text instead of calendar entry text |
804 // some languages needs two rows for publishing |
805 // some languages needs two rows for publishing |
805 cleanInfo = EFalse; |
806 cleanInfo = EFalse; |
806 // display "Next event on: [day of the week] [date]" |
807 // display "Next event on: [day of the week] [date]" |
807 PublishIconL( EAICalendarPlugin2NoMoreEventsForToday, 0, EAICalendarPlugin2InfoIcon ); |
808 |
808 iCurrentObserver->Publish( *this, EAICalendarPlugin2InfoText, nextOn, 0 ); |
809 PublishIconL( EAICalendarPlugin2NoEventsForToday, publishIndex); |
|
810 |
|
811 iCurrentObserver->Publish( *this, EAICalendarPlugin2TimeStartAndSubject, nextOn, publishIndex); |
|
812 |
809 } |
813 } |
810 ++lineUsage; |
814 ++lineUsage; |
811 ++publishIndex; |
815 ++publishIndex; |
812 |
816 |
813 TAiCalendarFocusData focusItem; |
817 TAiCalendarFocusData focusItem; |
814 focusItem.iType = EAI2CalOpenOnEventDay; |
818 focusItem.iType = EAI2CalOpenOnEventDay; |
815 focusItem.iEntryTime = eventTime; |
819 focusItem.iEntryTime = eventTime; |
816 focusDataArray.Append( focusItem ); |
820 focusDataArray.Append( focusItem ); |
817 /** |
821 |
818 * 5) Clean the rest |
822 PublishFutureItemsForArrayL( |
819 */ |
823 iEventData->TomorrowEventArray(), |
|
824 publishIndex, // reference passed and updated inside |
|
825 lineUsage, // reference passed and updated inside |
|
826 iActualLinesInUse); |
|
827 |
|
828 |
|
829 PublishFutureItemsForArrayL( |
|
830 iEventData->FutureItemArray(), |
|
831 publishIndex, // reference passed and updated inside |
|
832 lineUsage, // reference passed and updated inside |
|
833 iActualLinesInUse); |
|
834 |
|
835 // 5) Clean the rest |
|
836 |
820 for( ; publishIndex <= iActualLinesInUse; ++publishIndex ) |
837 for( ; publishIndex <= iActualLinesInUse; ++publishIndex ) |
821 { |
838 { |
822 CleanAll( publishIndex ); |
839 CleanAll( publishIndex ); |
823 |
840 |
824 TAiCalendarFocusData focusItem2; |
841 TAiCalendarFocusData focusItem2; |