diff -r b5d63d5fc252 -r a469c0e6e7fb smf/smfservermodule/smfclient/common/smfpicture.cpp --- a/smf/smfservermodule/smfclient/common/smfpicture.cpp Mon Jun 07 11:43:45 2010 +0100 +++ b/smf/smfservermodule/smfclient/common/smfpicture.cpp Wed Jun 23 19:51:49 2010 +0530 @@ -17,15 +17,16 @@ * */ -#include -#include +#include "smfpicture.h" +#include "smfpicture_p.h" /** * Constructor with default argument */ -SmfPicture::SmfPicture( ) +SmfPicture::SmfPicture(/*bool aDownloaded*/) { d = new SmfPicturePrivate; + //d->isDownloaded = aDownloaded; } /** @@ -162,7 +163,10 @@ { return d->m_photoId; } - +bool SmfPicture::downloadFlag() + { + return d->isDownloaded; + } /** * Method to set a picture owner * @param aOwner The owner of the picture @@ -321,9 +325,9 @@ aDataStream>>aPic.d->m_description; // Deserialize d->m_picVisibility - quint32 val = aPic.d->m_picVisibility; + quint32 val = 0; aDataStream>>val; - //aPic.d->m_picVisibility = val; + aPic.d->m_picVisibility = (SmfPictureVisibility)val; // Deserialize d->m_postedOn aDataStream>>aPic.d->m_postedOn;