contextengine/plugins/locationplugin/src/locationcontextplugin.cpp
changeset 23 33ae025ac1e8
parent 20 6dfc5f825351
child 51 87e65c44ff3a
equal deleted inserted replaced
21:50bf9db68373 23:33ae025ac1e8
   233     			}
   233     			}
   234 	        else
   234 	        else
   235 	        	{
   235 	        	{
   236 	        	ret = KErrNone;
   236 	        	ret = KErrNone;
   237 	        	}
   237 	        	}
   238 
       
   239     		}
   238     		}
   240         }
   239         }
   241 
   240 
   242     // Notify to context framework
   241     // Notify to context framework
   243     for(TInt i = 0; i < count; i++)
   242     for(TInt i = 0; i < count; i++)
   253 // ---------------------------------------------------------------------------
   252 // ---------------------------------------------------------------------------
   254 //
   253 //
   255 void CLocationContextPlugin::GetMdeObjectCreationTimeL( CMdEObject& aObject, 
   254 void CLocationContextPlugin::GetMdeObjectCreationTimeL( CMdEObject& aObject, 
   256 	CMdEProperty*& aProperty )
   255 	CMdEProperty*& aProperty )
   257     {
   256     {
       
   257     User::LeaveIfNull( iMdeSession );
   258     CMdENamespaceDef& namespaceDef = iMdeSession->GetDefaultNamespaceDefL();
   258     CMdENamespaceDef& namespaceDef = iMdeSession->GetDefaultNamespaceDefL();
   259 
   259 
   260     CMdEObjectDef& objectDef = namespaceDef.GetObjectDefL( Object::KBaseObject );
   260     CMdEObjectDef& objectDef = namespaceDef.GetObjectDefL( Object::KBaseObject );
   261     CMdEPropertyDef& creationDef = objectDef.GetPropertyDefL( Object::KLastModifiedDateProperty );
   261     CMdEPropertyDef& creationDef = objectDef.GetPropertyDefL( Object::KLastModifiedDateProperty );
   262 
   262