Merge in fixes for bug 1972 and bug 2840 RCL_3 PDK_3.0.4
authorFionntina Carville <fionntinac@symbian.org>
Fri, 22 Oct 2010 14:34:51 +0100
branchRCL_3
changeset 103 966d119a7e67
parent 102 ba63c83f4716 (current diff)
parent 89 9f918e984081 (diff)
child 105 a533a8e36da8
Merge in fixes for bug 1972 and bug 2840
idlehomescreen/widgetmanager/group/widgetmanager.mmp
idlehomescreen/widgetmanager/src/wmeffectmanager.cpp
idlehomescreen/xmluirendering/uiengine/group/xnlayoutengine.mmp
idlehomescreen/xmluirendering/uiengine/src/xneffectmanager.cpp
idlehomescreen/xmluirendering/uiengine/src/xnnodeimpl.cpp
--- a/idlehomescreen/widgetmanager/group/widgetmanager.mmp	Wed Oct 13 14:18:30 2010 +0300
+++ b/idlehomescreen/widgetmanager/group/widgetmanager.mmp	Fri Oct 22 14:34:51 2010 +0100
@@ -36,6 +36,8 @@
 
 CAPABILITY CAP_ECOM_PLUGIN
 
+MACRO NO_ALF_OBSERVER			// break link to ALF server
+
 SOURCEPATH      ../src
 SOURCE  wmpluginproxy.cpp
 SOURCE  wmplugin.cpp
--- a/idlehomescreen/widgetmanager/src/wmeffectmanager.cpp	Wed Oct 13 14:18:30 2010 +0300
+++ b/idlehomescreen/widgetmanager/src/wmeffectmanager.cpp	Fri Oct 22 14:34:51 2010 +0100
@@ -51,7 +51,9 @@
 //
 void CWmEffectManager::ConstructL()
     {
+#ifndef NO_ALF_OBSERVER
     iObserver = CAlfEffectObserver::NewL(); 
+#endif
     }
 
 // -----------------------------------------------------------------------------
@@ -160,6 +162,11 @@
 //
 TBool CWmEffectManager::WaitActiveEffect( TInt aInterval )     
     {
+    if (iObserver == NULL)
+        {
+        return ETrue;
+        }
+
     TBool retval( EFalse );
     TInt loop( aInterval / KWaitInterval );
     
@@ -202,7 +209,7 @@
 TBool CWmEffectManager::IsEffectActive()
     {
     TBool retVal( EFalse );
-    if ( iObserver->ActiveEffectsCount() )
+    if ( iObserver != NULL && iObserver->ActiveEffectsCount() )
         retVal = ETrue;
     return retVal;
     }
--- a/idlehomescreen/xmluirendering/uiengine/group/xnlayoutengine.mmp	Wed Oct 13 14:18:30 2010 +0300
+++ b/idlehomescreen/xmluirendering/uiengine/group/xnlayoutengine.mmp	Fri Oct 22 14:34:51 2010 +0100
@@ -31,6 +31,8 @@
 CAPABILITY      CAP_GENERAL_DLL
 SOURCEPATH      ../src
 
+MACRO NO_ALF_OBSERVER     // disable link to ALF server
+
 SOURCE    xnapplication.cpp
 SOURCE    xnappuiadapter.cpp
 SOURCE    xnappuiadapterimpl.cpp
--- a/idlehomescreen/xmluirendering/uiengine/src/xneffectmanager.cpp	Wed Oct 13 14:18:30 2010 +0300
+++ b/idlehomescreen/xmluirendering/uiengine/src/xneffectmanager.cpp	Fri Oct 22 14:34:51 2010 +0100
@@ -73,8 +73,10 @@
     CTimer::ConstructL();
     
     OrientationChanged();
-    
+
+#ifndef NO_ALF_OBSERVER    
     iObserver = CAlfEffectObserver::NewL();
+#endif
     }
 
 // -----------------------------------------------------------------------------
@@ -277,8 +279,13 @@
 //
 TBool CXnEffectManager::WaitActiveEffect( TInt aInterval )     
     {
+    if (iObserver == NULL)
+        {
+        return ETrue;
+        }
+
     TBool retval( EFalse );
-    
+    	
     TInt loop( aInterval / KWaitInterval );
     
     while ( loop >= 0 )
--- a/menufw/menusuites/foldersuite/group/foldersuite.mmp	Wed Oct 13 14:18:30 2010 +0300
+++ b/menufw/menusuites/foldersuite/group/foldersuite.mmp	Fri Oct 22 14:34:51 2010 +0100
@@ -10,6 +10,7 @@
 * Nokia Corporation - initial contribution.
 *
 * Contributors:
+* Juha Ristolainen, Futurice Oy – Removed dummy dll compilation
 *
 * Description:  Project definition file for project folder suite.
 *