13
|
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 |
|
|
18 |
#ifndef CPIXUTILS_H_
|
|
19 |
#define CPIXUTILS_H_
|
|
20 |
|
|
21 |
/**
|
|
22 |
* Helper to convert symbian descriptor to QString.
|
|
23 |
* @param aDesc the descriptor to be converted to QString.
|
|
24 |
* @return QString representation of the descriptor.
|
|
25 |
*/
|
|
26 |
QString QStringFromDescriptor( const TDesC& aDesc );
|
|
27 |
|
|
28 |
/**
|
|
29 |
* Gets a QCPixDocument from CSearchDocument
|
|
30 |
* @param aDoc CSearchDocument to be converted to QCPixDocument. Takes ownership of aDoc.
|
|
31 |
* @return QCPixDocument representation of aDoc. Ownership transferred to caller.
|
|
32 |
*/
|
|
33 |
CpixDocument* CpixDocFromCSearchDocument( CSearchDocument* aDoc );
|
|
34 |
|
14
|
35 |
/**
|
|
36 |
* Gets array of QCPixDocuments from batch of CSearchDocuments
|
|
37 |
* @param aDoc batch of CSearchDocuments to be converted to QCPixDocuments. Takes ownership of aDoc.
|
|
38 |
* @param aReturnDoc number of CSearchDocuments in the aDoc
|
|
39 |
* @return QCPixDocument representation of aDoc. Ownership transferred to caller.
|
|
40 |
*/
|
|
41 |
CpixDocument** CpixBatchDocFromCSearchDocument(TInt aReturnDoc, CSearchDocument** aDoc );
|
|
42 |
|
13
|
43 |
#endif /* QCPIXUTILS_H_ */
|