camerauis/cameraxui/cxengine/tsrc/unit/unittest_cxeimagedataqueuesymbian/cxeimagedataqueueunit.cpp
equal
deleted
inserted
replaced
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 |
|
18 #include "cxutils.h" |
|
19 #include "cxefakeimagedataitem.h" |
|
20 #include "cxeimagedataqueueunit.h" |
|
21 |
|
22 CxeImageDataQueueUnit::CxeImageDataQueueUnit() |
|
23 { |
|
24 CX_DEBUG_IN_FUNCTION(); |
|
25 } |
|
26 |
|
27 CxeImageDataQueueUnit::~CxeImageDataQueueUnit() |
|
28 { |
|
29 CX_DEBUG_IN_FUNCTION(); |
|
30 } |
|
31 |
|
32 CxeImageDataItem *CxeImageDataQueueUnit::createDataItem( int index, const QByteArray& data, const QString& path ) const |
|
33 { |
|
34 static int id = 0; |
|
35 return new CxeFakeImageDataItem(index, data, path, id++, false); |
|
36 } |
|