camerauis/cameraxui/cxengine/inc/api/cxeimagedataitem.h
changeset 48 42ba2d16bf40
parent 19 d9aefe59d544
equal deleted inserted replaced
37:64817133cd1d 48:42ba2d16bf40
     1 /*
     1 /*
     2 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
     2 * Copyright (c) 2009-2010 Nokia Corporation and/or its subsidiary(-ies).
     3 * All rights reserved.
     3 * All rights reserved.
     4 * This component and the accompanying materials are made available
     4 * This component and the accompanying materials are made available
     5 * under the terms of "Eclipse Public License v1.0"
     5 * under the terms of "Eclipse Public License v1.0"
     6 * which accompanies this distribution, and is available
     6 * which accompanies this distribution, and is available
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
    20 #include <QObject>
    20 #include <QObject>
    21 #include <QString>
    21 #include <QString>
    22 #include <QMetaType>
    22 #include <QMetaType>
    23 
    23 
    24 #include "cxeerror.h"
    24 #include "cxeerror.h"
    25 
       
    26 class CxeImageDataItem;
       
    27 class QImage;
       
    28 
    25 
    29 /**
    26 /**
    30  * CxeImageDataItem represents a single object that is in a queue to be saved to
    27  * CxeImageDataItem represents a single object that is in a queue to be saved to
    31  * the file system.
    28  * the file system.
    32  */
    29  */
    65      * Get the id of this item.
    62      * Get the id of this item.
    66      */
    63      */
    67     virtual QString path() const = 0;
    64     virtual QString path() const = 0;
    68 
    65 
    69 signals:
    66 signals:
    70     void imageSaved(CxeError::Id error, const QString& filename, int id);
    67     void imageSaved(CxeError::Id error, const QString &filename, int id);
    71     void stateChanged( State newState, CxeError::Id error );
    68     void stateChanged(State newState, CxeError::Id error);
    72 
    69 
    73 protected:
    70 protected:
    74     CxeImageDataItem() {}
    71     CxeImageDataItem() {}
    75 
    72 
    76 private:
    73 private: