equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2002-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 |
|
19 |
|
20 #ifndef MCLFCHANGEDITEMPROVIDER_H |
|
21 #define MCLFCHANGEDITEMPROVIDER_H |
|
22 |
|
23 // INCLUDES |
|
24 #include <CLFContentListing.h> |
|
25 #include <bamdesca.h> |
|
26 |
|
27 // CLASS DECLARATION |
|
28 |
|
29 /** |
|
30 * . |
|
31 * @lib ContentListingFramework.lib |
|
32 * @since Series 60 3.1 |
|
33 */ |
|
34 class MCLFChangedItemProviderObserver |
|
35 { |
|
36 public: |
|
37 |
|
38 /** |
|
39 * Two-phased constructor. |
|
40 */ |
|
41 virtual void NewChangedItemsL() = 0; |
|
42 |
|
43 protected: |
|
44 |
|
45 /** |
|
46 * Destructor. |
|
47 */ |
|
48 virtual ~MCLFChangedItemProviderObserver() {} |
|
49 |
|
50 }; |
|
51 |
|
52 class MCLFChangedItemProvider |
|
53 { |
|
54 |
|
55 public: |
|
56 |
|
57 virtual TBool IsItemsForModel( const MDesCArray& aMimeTypes, |
|
58 const TArray<TInt>& aMediaTypes, |
|
59 const TArray<TCLFItemId>& aModelItemIds ) = 0; |
|
60 |
|
61 virtual void RemoveChangedItemProviderObserver( |
|
62 MCLFChangedItemProviderObserver* aObserver ) = 0; |
|
63 |
|
64 |
|
65 protected: |
|
66 |
|
67 /** |
|
68 * Destructor. |
|
69 */ |
|
70 virtual ~MCLFChangedItemProvider() {} |
|
71 |
|
72 }; |
|
73 |
|
74 |
|
75 #endif // MCLFCHANGEDITEMPROVIDER_H |
|
76 |
|
77 // End of File |