creator/src/creator_scriptelementfactory.cpp
changeset 11 4df3a095718c
parent 0 d6fe6244b863
equal deleted inserted replaced
10:e6e3e87d58b4 11:4df3a095718c
    81         }
    81         }
    82     else if( aElementName == creatorlog::KLog )
    82     else if( aElementName == creatorlog::KLog )
    83         {
    83         {
    84         return CCreatorLogElement::NewL(aEngine, aElementName, aContext);
    84         return CCreatorLogElement::NewL(aEngine, aElementName, aContext);
    85         }
    85         }
       
    86 #if SYMBIAN_VERSION_SUPPORT < SYMBIAN_4
    86     else if( aElementName == creatornote::KNote )
    87     else if( aElementName == creatornote::KNote )
    87         {
    88         {
    88         return CCreatorNoteElement::NewL(aEngine, aElementName, aContext);
    89         return CCreatorNoteElement::NewL(aEngine, aElementName, aContext);
    89         }
    90         }
    90 	#ifdef __PRESENCE
    91 #endif
       
    92 #if SYMBIAN_VERSION_SUPPORT < SYMBIAN_4
       
    93     #ifdef __PRESENCE
    91     else if( aElementName == creatorimps::KImpsServer )
    94     else if( aElementName == creatorimps::KImpsServer )
    92         {
    95         {
    93         return CCreatorImpsServerElement::NewL(aEngine, aElementName, aContext);
    96         return CCreatorImpsServerElement::NewL(aEngine, aElementName, aContext);
    94         }
    97         }
    95 	#endif // __PRESENCE
    98 	#endif // __PRESENCE
       
    99 #endif    
    96     else if( aElementName == creatorlandmark::KLandmark )
   100     else if( aElementName == creatorlandmark::KLandmark )
    97         {
   101         {
    98         return CCreatorLandmarkElement::NewL(aEngine, aElementName, aContext);
   102         return CCreatorLandmarkElement::NewL(aEngine, aElementName, aContext);
    99         }
   103         }
   100     else if( aElementName == creatormailbox::Kmailbox )
   104     else if( aElementName == creatormailbox::Kmailbox )