--- a/photosgallery/controllers/fetcher/src/glxfetchercontainer.cpp Thu Dec 17 08:45:44 2009 +0200
+++ b/photosgallery/controllers/fetcher/src/glxfetchercontainer.cpp Thu Jan 07 12:46:23 2010 +0200
@@ -107,8 +107,8 @@
iGridIconSize = iUiUtility->GetGridIconSize();
// For DRM Utility
- iDRMUtility = CGlxDRMUtility::InstanceL();
- iIsFileAttached = EFalse;
+ iDRMUtility = CGlxDRMUtility::InstanceL();
+ SetFileAttached(EFalse);
}
//-----------------------------------------------------------------------------
@@ -608,12 +608,12 @@
// to send key events to the dialog.
if( !iMediaList || !iHgGrid )
{
- aFetchUri = EFalse;
- iIsFileAttached = EFalse;
+ aFetchUri = EFalse;
+ SetFileAttached(EFalse);
return iIsFileAttached;
}
- //To Block call to HandleDoubleTapEventL() when control is in RetrieveUrisL()
- iIsFileAttached = ETrue;
+ //To Block call to HandleDoubleTapEventL() when control is in RetrieveUrisL()
+ SetFileAttached(ETrue);
GLX_LOG_INFO1("CGlxFetcherContainer::RetrieveUrisL() Medialist count is %d",
iMediaList->Count());
TGlxSelectionIterator iterator;
@@ -654,11 +654,11 @@
if( uri != KNullDesC )
{
aSelectedFiles.AppendL( uri );
- iIsFileAttached = ETrue;
+ SetFileAttached(ETrue);
}
else
- {
- iIsFileAttached = EFalse;
+ {
+ SetFileAttached(EFalse);
}
}
}
@@ -775,4 +775,13 @@
return CCoeControl::MopSupplyObject(aId);
}
+// -----------------------------------------------------------------------------
+// SetFileAttached
+// -----------------------------------------------------------------------------
+//
+void CGlxFetcherContainer::SetFileAttached(TBool aIsFileAttached)
+ {
+ iIsFileAttached = aIsFileAttached;
+ }
+
//END OF FILE