author | William Roberts <williamr@symbian.org> |
Thu, 22 Jul 2010 16:32:51 +0100 | |
branch | GCC_SURGE |
changeset 54 | e6894b852bc6 |
parent 40 | 4b686cfad39d (diff) |
parent 53 | e08ac1a3ba2b (current diff) |
--- a/calendarengines/agnversit2/inc/CleanupPointerArray.inl Mon Jul 19 15:12:16 2010 +0100 +++ b/calendarengines/agnversit2/inc/CleanupPointerArray.inl Thu Jul 22 16:32:51 2010 +0100 @@ -35,7 +35,7 @@ @internalTechnology */ template <class T> -inline void TCleanupPointerArray<class T>::ResetAndDestroy(TAny* aPtr) +inline void TCleanupPointerArray<T>::ResetAndDestroy(TAny* aPtr) { reinterpret_cast<T *>(aPtr)->ResetAndDestroy(); }
--- a/calendarui/regionalplugins/calenregionalutil/inc/calenlunarlocalizedinfo.h Mon Jul 19 15:12:16 2010 +0100 +++ b/calendarui/regionalplugins/calenregionalutil/inc/calenlunarlocalizedinfo.h Thu Jul 22 16:32:51 2010 +0100 @@ -51,13 +51,13 @@ */ IMPORT_C const TDesC& GetField( TField aField ); - IMPORT_C const TDesC& Festival() { return iFestival; } - IMPORT_C const TDesC& SolarTerm() { return iSolarTerm; } - IMPORT_C const TDesC& FullLunarDate() { return iFullLunarDate; } - IMPORT_C const TDesC& LunarYear() { return iLunarYear; } - IMPORT_C const TDesC& LunarMonthAndDay() { return iLunarMonthAndDay; } - IMPORT_C const TDesC& AnimalYear() { return iAnimalYear; } - IMPORT_C const TDesC& GregorianDate() { return iGregorianDate; } + const TDesC& Festival() { return iFestival; } + const TDesC& SolarTerm() { return iSolarTerm; } + const TDesC& FullLunarDate() { return iFullLunarDate; } + const TDesC& LunarYear() { return iLunarYear; } + const TDesC& LunarMonthAndDay() { return iLunarMonthAndDay; } + const TDesC& AnimalYear() { return iAnimalYear; } + const TDesC& GregorianDate() { return iGregorianDate; } private: CCalenLunarLocalizedInfo();
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/clock/clockui/clockviews/data/xml/worldclockview.docml Thu Jul 22 16:32:51 2010 +0100 @@ -0,0 +1,78 @@ +<?xml version="1.0" encoding="UTF-8"?> +<hbdocument version="0.9"> + <object name="alarmsAction" type="HbAction"> + <string name="text" value="Alarms"/> + <icon iconName="qtg_mono_alarm_active.svg" name="icon"/> + </object> + <object name="worldClockAction" type="HbAction"> + <string name="text" value="World clock"/> + <icon iconName="qtg_mono_world_clock.svg" name="icon"/> + </object> + <object name="addCityAction" type="HbAction"> + <string name="text" value="Add city"/> + </object> + <widget name="worldClockView" type="HbView"> + <widget name="worldClockViewWidget" role="HbView:widget" type="HbWidget"> + <widget name="subtitleGroupBox" type="HbGroupBox"> + <string locid="txt_clock_subhead_world_clock" name="titleText" value="World clock"/> + <real name="z" value="1"/> + <bool name="collapsable" value="FALSE"/> + </widget> + <widget name="clockWidget" type="HbPushButton"> + <real name="z" value="8"/> + <string name="text" value="Clock widget"/> + <string name="state" value="normal"/> + </widget> + <widget name="dateLabel" type="HbLabel"> + <enums name="alignment" value="AlignVCenter|AlignHCenter"/> + <real name="z" value="9"/> + <sizehint height="var(hb-param-text-height-tiny)" type="PREFERRED"/> + <string name="plainText" value="Mon 18.05.2009"/> + </widget> + <widget name="placeLabel" type="HbLabel"> + <enums name="alignment" value="AlignVCenter|AlignHCenter"/> + <real name="z" value="10"/> + <sizehint height="var(hb-param-text-height-primary)" type="PREFERRED"/> + <string name="plainText" value="Helsinki, Finland"/> + </widget> + <widget name="worldClockCityListView" type="HbListView"> + <widget name="prototype" role="HbListView:prototype" type="HbListViewItem"> + <string name="state" value="normal"/> + </widget> + <real name="z" value="11"/> + <sizehint height="47.7612un" type="PREFERRED" width="35.8209un"/> + </widget> + <layout type="anchor"> + <anchoritem dst="subtitleGroupBox" dstEdge="RIGHT" spacing="0un" src="" srcEdge="RIGHT"/> + <anchoritem dst="subtitleGroupBox" dstEdge="LEFT" spacing="0un" src="" srcEdge="LEFT"/> + <anchoritem dst="subtitleGroupBox" dstEdge="TOP" spacing="0un" src="" srcEdge="TOP"/> + <anchoritem dst="clockWidget" dstEdge="CENTERH" spacing="0un" src="" srcEdge="CENTERH"/> + <anchoritem dst="clockWidget" dstEdge="TOP" spacing="var(hb-param-margin-gene-top)" src="subtitleGroupBox" srcEdge="BOTTOM"/> + <anchoritem dst="dateLabel" dstEdge="LEFT" spacing="var(hb-param-margin-gene-left)" src="" srcEdge="LEFT"/> + <anchoritem dst="dateLabel" dstEdge="RIGHT" spacing="-var(hb-param-margin-gene-right)" src="" srcEdge="RIGHT"/> + <anchoritem dst="dateLabel" dstEdge="TOP" spacing="var(hb-param-margin-gene-top)" src="clockWidget" srcEdge="BOTTOM"/> + <anchoritem dst="placeLabel" dstEdge="LEFT" spacing="var(hb-param-margin-gene-left)" src="" srcEdge="LEFT"/> + <anchoritem dst="placeLabel" dstEdge="RIGHT" spacing="-var(hb-param-margin-gene-right)" src="" srcEdge="RIGHT"/> + <anchoritem dst="placeLabel" dstEdge="TOP" spacing="var(hb-param-margin-gene-middle-vertical)" src="dateLabel" srcEdge="BOTTOM"/> + <anchoritem dst="worldClockCityListView" dstEdge="BOTTOM" spacing="0un" src="" srcEdge="BOTTOM"/> + <anchoritem dst="worldClockCityListView" dstEdge="LEFT" spacing="0un" src="" srcEdge="LEFT"/> + <anchoritem dst="worldClockCityListView" dstEdge="RIGHT" spacing="0un" src="" srcEdge="RIGHT"/> + <anchoritem dst="worldClockCityListView" dstEdge="TOP" spacing="var(hb-param-margin-gene-top)" src="placeLabel" srcEdge="BOTTOM"/> + </layout> + </widget> + <widget name="viewToolbar" role="HbView:toolBar" type="HbToolBar"> + <enums name="orientation" value="Horizontal"/> + <ref object="alarmsAction" role="HbToolBar:addAction"/> + <ref object="worldClockAction" role="HbToolBar:addAction"/> + <ref object="addCityAction" role="HbToolBar:addAction"/> + </widget> + <widget name="viewMenu" role="HbView:menu" type="HbMenu"/> + <string locid="txt_common_common_clock" name="title" value="Clock"/> + </widget> + <metadata activeUIState="Common ui state" display="NHD portrait" unit="un"> + <uistate name="Common ui state" sections="#common"/> + <uistate name="portrait" sections="#common"/> + <uistate name="landscape" sections="#common"/> + <dummydata objectName="worldClockCityListView" section="#common" value="0"/> + </metadata> +</hbdocument>
--- a/pimappservices/calendar/shared/src/agmdebug.cpp Mon Jul 19 15:12:16 2010 +0100 +++ b/pimappservices/calendar/shared/src/agmdebug.cpp Thu Jul 22 16:32:51 2010 +0100 @@ -26,7 +26,7 @@ EXPORT_C void AgmDebug::DebugLog(const char* aFmt,...) { - VA_LIST list = {NULL}; + VA_LIST list; VA_START(list,aFmt); TPtrC8 fmt8((const TText8*)aFmt); @@ -49,7 +49,7 @@ EXPORT_C void AgmDebug::DebugLogTimeStampL(const char* aFmt,...) { - VA_LIST list = {NULL}; + VA_LIST list; VA_START(list,aFmt); TPtrC8 fmt8((const TText8*)aFmt);