camerauis/cameraxui/cxengine/tsrc/fakeclasses/cxefakeimagedataitem.cpp
changeset 37 64817133cd1d
parent 19 d9aefe59d544
--- a/camerauis/cameraxui/cxengine/tsrc/fakeclasses/cxefakeimagedataitem.cpp	Wed Jun 23 17:59:54 2010 +0300
+++ b/camerauis/cameraxui/cxengine/tsrc/fakeclasses/cxefakeimagedataitem.cpp	Tue Jul 06 14:04:02 2010 +0300
@@ -22,11 +22,12 @@
 #include "cxeimagedataitem.h"
 #include "cxutils.h"
 
-CxeFakeImageDataItem::CxeFakeImageDataItem(int index, QByteArray data, QString filename, int id)
+CxeFakeImageDataItem::CxeFakeImageDataItem(int index, QByteArray data, QString filename, int id, bool addLocation)
     : mId(id),
       mIndex(index),
       mData(data),
       mFileName(filename),
+      mAddLocationInfo(addLocation),
       mState(CxeImageDataItem::SavePending)
 {
     CX_DEBUG_IN_FUNCTION();
@@ -64,4 +65,10 @@
     return mFileName;
 }
 
+
+bool CxeFakeImageDataItem::addLocation() const
+{
+    return mAddLocationInfo;
+}
+
 // end of file