camerauis/cameraxui/cxengine/tsrc/fakeclasses/cxefakeimagedataitem.h
changeset 37 64817133cd1d
parent 19 d9aefe59d544
equal deleted inserted replaced
36:b12f3922a74f 37:64817133cd1d
    24 class CxeFakeImageDataItem : public CxeImageDataItem
    24 class CxeFakeImageDataItem : public CxeImageDataItem
    25 {
    25 {
    26     Q_OBJECT
    26     Q_OBJECT
    27 
    27 
    28 public: // constructor and destructor
    28 public: // constructor and destructor
    29     CxeFakeImageDataItem(int index, QByteArray data, QString filename, int id);
    29     CxeFakeImageDataItem(int index, QByteArray data, QString filename, int id, bool addLocation);
    30     virtual ~CxeFakeImageDataItem();
    30     virtual ~CxeFakeImageDataItem();
    31 
    31 
    32 public: // from CxeImageDataItem
    32 public: // from CxeImageDataItem
    33     CxeError::Id save();
    33     CxeError::Id save();
    34     CxeImageDataItem::State state() const;
    34     CxeImageDataItem::State state() const;
    35     int id() const;
    35     int id() const;
    36     QString path() const;
    36     QString path() const;
       
    37     bool addLocation() const;
    37 
    38 
    38 private:
    39 private:
    39     int mId;
    40     int mId;
    40     int mIndex;
    41     int mIndex;
    41     QByteArray mData;
    42     QByteArray mData;
    42     QString mFileName;
    43     QString mFileName;
       
    44     bool mAddLocationInfo;
    43     CxeImageDataItem::State mState;
    45     CxeImageDataItem::State mState;
    44 };
    46 };
    45 
    47 
    46 #endif  // CXEFAKEIMAGEDATAITEM_H
    48 #endif  // CXEFAKEIMAGEDATAITEM_H