|
1 /* |
|
2 * Copyright (c) 2007-2008 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: Contains CNcdNodeSeenFolderProxy |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef C_NCDNODESEENFOLDERPROXY_H |
|
20 #define C_NCDNODESEENFOLDERPROXY_H |
|
21 |
|
22 #include "ncdinterfacebaseproxy.h" |
|
23 #include "ncdnodeseenfolder.h" |
|
24 |
|
25 class CNcdNodeFolderProxy; |
|
26 |
|
27 /** |
|
28 * Implementation of MNcdNodeSeenFolder interface. |
|
29 * |
|
30 * @see MNcdNodeSeenFolder |
|
31 * @since S60 v3.2 |
|
32 */ |
|
33 class CNcdNodeSeenFolderProxy : public CNcdInterfaceBaseProxy, |
|
34 public MNcdNodeSeenFolder |
|
35 { |
|
36 public: |
|
37 static CNcdNodeSeenFolderProxy* NewL( |
|
38 MCatalogsClientServer& aSession, |
|
39 TInt aHandle, |
|
40 CNcdNodeFolderProxy& aNode ); |
|
41 |
|
42 static CNcdNodeSeenFolderProxy* NewLC( |
|
43 MCatalogsClientServer& aSession, |
|
44 TInt aHandle, |
|
45 CNcdNodeFolderProxy& aNode ); |
|
46 |
|
47 ~CNcdNodeSeenFolderProxy(); |
|
48 |
|
49 void InternalizeL(); |
|
50 |
|
51 public: // From MNcdNodeSeenFolder |
|
52 |
|
53 /** |
|
54 * @see MNcdNodeSeenFolder |
|
55 */ |
|
56 virtual void SetContentsSeenL(); |
|
57 |
|
58 /** |
|
59 * @see MNcdNodeSeenFolder |
|
60 */ |
|
61 virtual TInt NewCountL( TInt aLevels ) const; |
|
62 |
|
63 /** |
|
64 * @see MNcdNodeSeenFolder |
|
65 */ |
|
66 virtual RCatalogsArray<MNcdNode> NewNodesL( TInt aLevels ) const; |
|
67 |
|
68 protected: |
|
69 CNcdNodeSeenFolderProxy( |
|
70 MCatalogsClientServer& aSession, |
|
71 TInt aHandle, |
|
72 CNcdNodeFolderProxy& aNode ); |
|
73 |
|
74 void ConstructL(); |
|
75 |
|
76 private: |
|
77 // The parent folder. |
|
78 CNcdNodeFolderProxy& iFolder; |
|
79 }; |
|
80 |
|
81 #endif // C_NCDNODESEENFOLDERPROXY_H |