imagehandlingutilities/thumbnailmanager/thumbnailserver/inc/thumbnailfetchedchecker.h
equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2006-2007 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 THUMBNAILFETCHEDCHECKER_H |
|
18 #define THUMBNAILFETCHEDCHECKER_H |
|
19 |
|
20 #include <e32base.h> |
|
21 |
|
22 NONSHARABLE_CLASS( CThumbnailFetchedChecker ): public CBase |
|
23 { |
|
24 public: |
|
25 static CThumbnailFetchedChecker* NewL(); |
|
26 virtual ~CThumbnailFetchedChecker(); |
|
27 public: |
|
28 TInt LastFetchResult( const TDesC& aUri ); |
|
29 void SetFetchResult( const TDesC& aUri, TInt aError ); |
|
30 void Reset(); |
|
31 private: |
|
32 CThumbnailFetchedChecker(); |
|
33 |
|
34 NONSHARABLE_CLASS( CEntry ) : public CBase |
|
35 { |
|
36 public: |
|
37 static CEntry* New( const TDesC& aUri, TInt aError ); |
|
38 static TInt FindCB( const TDesC* aUri, const CEntry& aEntry ); |
|
39 static TInt InsertCB( const CEntry& aEntry1, const CEntry& aEntry2 ); |
|
40 CEntry(); |
|
41 virtual ~CEntry(); |
|
42 public: |
|
43 HBufC* iUri; |
|
44 TInt iError; |
|
45 }; |
|
46 |
|
47 private: |
|
48 RPointerArray< CEntry > iNotFetched; |
|
49 }; |
|
50 |
|
51 #endif // THUMBNAILFETCHEDCHECKER_H |