diff -r 819e59dfc032 -r 2d9cac8919d3 creator/engine/inc/creator_browser.h --- a/creator/engine/inc/creator_browser.h Mon Oct 04 10:09:02 2010 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,108 +0,0 @@ -/* -* Copyright (c) 2010 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: -* -*/ - - - - - -#ifndef __CREATORBROWSER_H__ -#define __CREATORBROWSER_H__ - -#include "engine.h" -#include "creator_modulebase.h" - -#include -//#include -//#include -//#include - - - -class CCreatorEngine; -class CBrowserParameters; - - -class CCreatorBrowser : public CCreatorModuleBase - { -public: - static CCreatorBrowser* NewL(CCreatorEngine* aEngine); - static CCreatorBrowser* NewLC(CCreatorEngine* aEngine); - ~CCreatorBrowser(); - -private: - CCreatorBrowser(); - void ConstructL(CCreatorEngine* aEngine); // from MCreatorModuleBase - -public: - TBool AskDataFromUserL( TInt aCommand ); // from MCreatorModuleBase - - TInt CreateBookmarkEntryL(CBrowserParameters *aParameters); - TInt CreateBookmarkFolderEntryL(CBrowserParameters *aParameters); - TInt CreateSavedDeckEntryL(CBrowserParameters *aParameters); - TInt CreateSavedDeckFolderEntryL(CBrowserParameters *aParameters); - - void DeleteAllL(); - void DeleteAllCreatedByCreatorL(); - - void DeleteAllBookmarksL(); - void DeleteAllBookmarksCreatedByCreatorL(); - void DeleteAllBookmarkFoldersL(); - void DeleteAllBookmarkFoldersCreatedByCreatorL(); - void DeleteAllSavedPagesL(); - void DeleteAllSavedPagesCreatedByCreatorL(); - void DeleteAllSavedPageFoldersL(); - void DeleteAllSavedPageFoldersCreatedByCreatorL(); - -private: - void DeleteAllItemsL( const TDesC& aDbName, CFavouritesItem::TType aTypeFilter, TBool aOnlyCreatedWithCreator, RArray& aEntryIds, const TUid aDictUid ); - - - -private: - CBrowserParameters* iParameters; - RArray iBmEntryIds; - RArray iBmFEntryIds; - RArray iSpEntryIds; - RArray iSpFEntryIds; -public: - }; - - -class CBrowserParameters : public CCreatorModuleBaseParameters - { -public: - HBufC* iBookmarkName; - HBufC* iBookmarkAddress; - TFavouritesWapAp iBookmarkAccessPoint; - HBufC* iBookmarkUsername; - HBufC* iBookmarkPassword; - - HBufC* iBookmarkFolderName; - - HBufC* iSavedDeckLinkName; - HBufC* iSavedDeckLocalAddress; - - HBufC* iSavedDeckFolderName; - -public: - CBrowserParameters(); - ~CBrowserParameters(); - }; - - - -#endif // __CREATORBROWSER_H__