contextengine/plugins/locationplugin/src/locationcontextplugin.cpp
branchRCL_3
changeset 8 50de4d668bb6
parent 6 646a02f170b9
child 22 29d87345eaeb
equal deleted inserted replaced
7:3cebc1a84278 8:50de4d668bb6
   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