web_pub/favourites_engine_api/tsrc/inc/FavouritesItemTestData.h
changeset 1 7c90e6132015
child 25 0ed94ceaa377
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/web_pub/favourites_engine_api/tsrc/inc/FavouritesItemTestData.h	Fri May 08 08:25:06 2009 +0300
@@ -0,0 +1,57 @@
+/*
+* Copyright (c) 2000 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of the License "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:  Declaration of class TFavouritesItemTestData.
+*
+*/
+
+
+#ifndef FAVOURITES_ITEM_TEST_DATA_H
+#define FAVOURITES_ITEM_TEST_DATA_H
+
+//  INCLUDES
+
+#include <e32base.h>
+#include <FavouritesItemData.h>
+
+// CLASS DECLARATION
+
+/**
+* Mixin class for representing extra data for a favourites item.
+*/
+class TFavouritesItemTestData: public MFavouritesItemData
+    {
+
+    public:     // from MFavouritesItemData
+
+        /**
+        * Externalize into a stream.
+        * @param aStream The stream to externalize to.
+        */
+        virtual void ExternalizeL( RWriteStream& aStream ) const;
+
+        /**
+        * Internalize from a stream.
+        * @param aStream The stream to externalize from.
+        */
+        virtual void InternalizeL( RReadStream& aStream );
+
+    public:     // data
+
+        TInt iTestData;     ///< Some test data to write / read.
+
+    };
+
+#endif
+            
+// End of File