diff -r 000000000000 -r 32704c33136d ncdengine/provider/client/inc/ncdnodeseenfolderproxy.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/ncdengine/provider/client/inc/ncdnodeseenfolderproxy.h Tue Jan 26 12:06:03 2010 +0200 @@ -0,0 +1,81 @@ +/* +* Copyright (c) 2007-2008 Nokia Corporation and/or its subsidiary(-ies). +* All rights reserved. +* This component and the accompanying materials are made available +* under the terms of "Eclipse Public License v1.0" +* which accompanies this distribution, and is available +* at the URL "http://www.eclipse.org/legal/epl-v10.html". +* +* Initial Contributors: +* Nokia Corporation - initial contribution. +* +* Contributors: +* +* Description: Contains CNcdNodeSeenFolderProxy +* +*/ + + +#ifndef C_NCDNODESEENFOLDERPROXY_H +#define C_NCDNODESEENFOLDERPROXY_H + +#include "ncdinterfacebaseproxy.h" +#include "ncdnodeseenfolder.h" + +class CNcdNodeFolderProxy; + +/** + * Implementation of MNcdNodeSeenFolder interface. + * + * @see MNcdNodeSeenFolder + * @since S60 v3.2 + */ +class CNcdNodeSeenFolderProxy : public CNcdInterfaceBaseProxy, + public MNcdNodeSeenFolder + { +public: + static CNcdNodeSeenFolderProxy* NewL( + MCatalogsClientServer& aSession, + TInt aHandle, + CNcdNodeFolderProxy& aNode ); + + static CNcdNodeSeenFolderProxy* NewLC( + MCatalogsClientServer& aSession, + TInt aHandle, + CNcdNodeFolderProxy& aNode ); + + ~CNcdNodeSeenFolderProxy(); + + void InternalizeL(); + +public: // From MNcdNodeSeenFolder + + /** + * @see MNcdNodeSeenFolder + */ + virtual void SetContentsSeenL(); + + /** + * @see MNcdNodeSeenFolder + */ + virtual TInt NewCountL( TInt aLevels ) const; + + /** + * @see MNcdNodeSeenFolder + */ + virtual RCatalogsArray NewNodesL( TInt aLevels ) const; + +protected: + CNcdNodeSeenFolderProxy( + MCatalogsClientServer& aSession, + TInt aHandle, + CNcdNodeFolderProxy& aNode ); + + void ConstructL(); + +private: + // The parent folder. + CNcdNodeFolderProxy& iFolder; + }; + +#endif // C_NCDNODESEENFOLDERPROXY_H \ No newline at end of file