diff -r e6e896426eac -r 2691f6aa1921 omads/omadsextensions/adapters/bookmark/inc/conversionutil.h --- a/omads/omadsextensions/adapters/bookmark/inc/conversionutil.h Tue Feb 02 00:02:49 2010 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,53 +0,0 @@ -/* -* Copyright (c) 2005-2007 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: Conversion utility -* -*/ - - -#ifndef _CONVERSIONUTIL_H_ -#define _CONVERSIONUTIL_H_ - -#include - -class COMADSFolderObject; -class CVBookmarkConverter; -class CFolderItem; - -class CBookmarkConversionUtil : public CBase -{ -public: - static CBookmarkConversionUtil* NewL(); - static CBookmarkConversionUtil* NewLC(); - - ~CBookmarkConversionUtil(); - - void FavouritesItemToBufferL( const CFavouritesItem& aItem, - CBufFlat& aBuffer ); - - void RssItemToBufferL( const CFolderItem& aItem, - CBufFlat& aBuffer); - - TInt BufferToFavouritesItemL( CFavouritesItem::TType aType, - CBufFlat& aBuffer, CFavouritesItem& aItem ); - -private: - - void ConstructL(); - - COMADSFolderObject* iOmaConverter; - CVBookmarkConverter* iVBookmarkConverter; -}; - -#endif