camerauis/cameraxui/cxengine/tsrc/fakeclasses/cxefakefilesavethread.cpp
branchRCL_3
changeset 54 bac7acad7cb3
parent 53 61bc0f252b2b
child 57 2c87b2808fd7
equal deleted inserted replaced
53:61bc0f252b2b 54:bac7acad7cb3
     1 /*
       
     2 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:
       
    15 *
       
    16 */
       
    17 #include "cxefakefilesavethread.h"
       
    18 #include "cxeimagedataitem.h"
       
    19 
       
    20 
       
    21 CxeFakeFileSaveThread::CxeFakeFileSaveThread()
       
    22 {
       
    23 }
       
    24 
       
    25 CxeFakeFileSaveThread::~CxeFakeFileSaveThread()
       
    26 {
       
    27 }
       
    28 
       
    29 void CxeFakeFileSaveThread::save(CxeImageDataItem *data)
       
    30 {
       
    31     if (data) {
       
    32         data->save();
       
    33     }
       
    34 
       
    35 }
       
    36 
       
    37 void CxeFakeFileSaveThread::handleVideoSaved(CxeError::Id status, const QString &filename)
       
    38 {
       
    39     Q_UNUSED(status);
       
    40     Q_UNUSED(filename);
       
    41 }
       
    42 
       
    43 void CxeFakeFileSaveThread::handleSnapshotReady(CxeError::Id status, const QImage &snapshot, const QString &filename)
       
    44 {
       
    45     Q_UNUSED(status);
       
    46     Q_UNUSED(snapshot);
       
    47     Q_UNUSED(filename);
       
    48 }
       
    49 
       
    50 void CxeFakeFileSaveThread::handleSnapshotReady(CxeError::Id status, const QImage &snapshot, int id)
       
    51 {
       
    52     Q_UNUSED(status);
       
    53     Q_UNUSED(snapshot);
       
    54     Q_UNUSED(id);
       
    55 }