camerauis/cameraxui/cxengine/src/cxeimagedataitemsymbian.cpp
changeset 37 64817133cd1d
parent 19 d9aefe59d544
child 42 feebad15db8c
child 48 42ba2d16bf40
--- a/camerauis/cameraxui/cxengine/src/cxeimagedataitemsymbian.cpp	Wed Jun 23 17:59:54 2010 +0300
+++ b/camerauis/cameraxui/cxengine/src/cxeimagedataitemsymbian.cpp	Tue Jul 06 14:04:02 2010 +0300
@@ -31,11 +31,13 @@
 CxeImageDataItemSymbian::CxeImageDataItemSymbian(QByteArray data,
                                                  QString filename,
                                                  int id,
+                                                 bool addLocation,
                                                  CxeImageDataItem::State state)
   : CxeStateMachine("CxeImageDataItemSymbian"),
     mError(KErrNone),
     mId(id),
     mData(data),
+    mAddLocationInfo(addLocation),
     mPath(filename)
 {
     CX_DEBUG_ENTER_FUNCTION();
@@ -327,6 +329,12 @@
     emit stateChanged(static_cast<State> (newStateId), error);
 }
 
+
+bool CxeImageDataItemSymbian::isLocationEnabled() const
+{
+    return mAddLocationInfo;
+}
+
 void CxeImageDataItemSymbian::initializeStates()
 {
     // addState( id, name, allowed next states )