creator/src/creator_scriptelementfactory.cpp
changeset 11 4df3a095718c
parent 0 d6fe6244b863
--- a/creator/src/creator_scriptelementfactory.cpp	Fri Mar 19 09:29:26 2010 +0200
+++ b/creator/src/creator_scriptelementfactory.cpp	Fri Apr 16 14:59:17 2010 +0300
@@ -83,16 +83,20 @@
         {
         return CCreatorLogElement::NewL(aEngine, aElementName, aContext);
         }
+#if SYMBIAN_VERSION_SUPPORT < SYMBIAN_4
     else if( aElementName == creatornote::KNote )
         {
         return CCreatorNoteElement::NewL(aEngine, aElementName, aContext);
         }
-	#ifdef __PRESENCE
+#endif
+#if SYMBIAN_VERSION_SUPPORT < SYMBIAN_4
+    #ifdef __PRESENCE
     else if( aElementName == creatorimps::KImpsServer )
         {
         return CCreatorImpsServerElement::NewL(aEngine, aElementName, aContext);
         }
 	#endif // __PRESENCE
+#endif    
     else if( aElementName == creatorlandmark::KLandmark )
         {
         return CCreatorLandmarkElement::NewL(aEngine, aElementName, aContext);