diff -r 000000000000 -r 8c5d936e5675 profilesservices/FileList/Src/CFLDBrowserLauncher.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/profilesservices/FileList/Src/CFLDBrowserLauncher.h Thu Dec 17 08:52:52 2009 +0200 @@ -0,0 +1,90 @@ +/* +* Copyright (c) 2002 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: Implementation for Download tones feature +* +*/ + + + +#ifndef CFLDBROWSERLAUNCHER_H +#define CFLDBROWSERLAUNCHER_H + +// EXTERNAL INCLUDES +#include +#include + +// FORWARD DECLARATIONS +class CDocumentHandler; +class CBrowserLauncher; + +// CLASS DECLARATION + +/** +* Implementation for Download tones feature. +* +* @lib FileList.lib +* @since 2.1 +*/ +NONSHARABLE_CLASS( CFLDBrowserLauncher ) : public CBase, + public MDownloadedContentHandler + { + public: // Constructors and destructor + + /** + * Two-phased constructor. + */ + static CFLDBrowserLauncher* NewLC(); + + virtual ~CFLDBrowserLauncher(); + + public: // New functions + + /** + * Launches Browser embedded. Waits until Browser is closed. + * @since 2.1 + */ + void LaunchBrowserL(); + + public: // Functions from base classes + + TBool HandleContentL( + const TDesC& aFileName, + const CAiwGenericParamList& aParamList, TBool& aContinue ); + + TAny* DownloadedContentHandlerReserved1( TAny* aAnyParam ); + + private: + + /** + * Default constructor + */ + CFLDBrowserLauncher(); + + /** + * By default Symbian 2nd phase constructor is private. + */ + void ConstructL(); + + private: // Data + /// Own: Browser Launcher + CBrowserLauncher* iBrowserLauncher; + + /// Own: Document Handler for saving downloaded tones. + CDocumentHandler* iDocumentHandler; + + }; + +#endif // CFLDBROWSERLAUNCHER_H + +// End of File