45
|
1 |
/*
|
|
2 |
* Copyright (c) 2010 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 |
#ifndef CXEIMAGEDATAQUEUEDESKTOP_H
|
|
18 |
#define CXEIMAGEDATAQUEUEDESKTOP_H
|
|
19 |
|
|
20 |
// Include Files
|
|
21 |
|
|
22 |
#include <QList>
|
|
23 |
|
|
24 |
#include "cxeimagedataqueue.h"
|
|
25 |
|
|
26 |
// Constants
|
|
27 |
|
|
28 |
|
|
29 |
// Class Definitions
|
|
30 |
|
|
31 |
class QImage;
|
|
32 |
class CxeImageDataItem;
|
|
33 |
|
|
34 |
class CxeImageDataQueueDesktop : public CxeImageDataQueue
|
|
35 |
{
|
|
36 |
Q_OBJECT
|
|
37 |
|
|
38 |
public:
|
|
39 |
CxeImageDataQueueDesktop();
|
|
40 |
virtual ~CxeImageDataQueueDesktop();
|
|
41 |
|
|
42 |
|
|
43 |
public: // from CxeImageDataQueue
|
|
44 |
int size() const;
|
|
45 |
void clear();
|
|
46 |
CxeImageDataItem &operator[](int index);
|
|
47 |
|
|
48 |
public: // public member functions, not in client API
|
|
49 |
CxeImageDataItem *startSave(QByteArray data, QString path, int id);
|
|
50 |
|
|
51 |
private: // private data members
|
|
52 |
QList<CxeImageDataItem *> mList;
|
|
53 |
};
|
|
54 |
|
|
55 |
#endif // __CXEIMAGEDATAQUEUEDESKTOP_H
|