inc/drmbrowserlauncher.h
changeset 49 69d8e75812b7
equal deleted inserted replaced
48:c68061d56109 49:69d8e75812b7
       
     1 /*
       
     2 * Copyright (c) 2004 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:  API for QT browser launcher
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef DRMBROWSERLAUNCHER_H
       
    20 #define DRMBROWSERLAUNCHER_H
       
    21 
       
    22 // INCLUDES
       
    23 #include <e32base.h>
       
    24 // DATA TYPES
       
    25 
       
    26 // FORWARD DECLARATIONS
       
    27 
       
    28 // CLASS DECLARATION
       
    29 
       
    30 namespace DRM
       
    31 {
       
    32 
       
    33 
       
    34 /**
       
    35 *  API for QT browser launcher
       
    36 *  
       
    37 *
       
    38 *  @lib drmbrowserlauncher.dll
       
    39 *  @since Symbian V4
       
    40 */
       
    41 NONSHARABLE_CLASS( CDrmBrowserLauncher ): public CBase
       
    42 {
       
    43     public:  // Constructors and destructor
       
    44    			
       
    45    			/**
       
    46         * Destructor.
       
    47         * @since Symbian V4
       
    48         */
       
    49         ~CDrmBrowserLauncher();
       
    50    			
       
    51         /**
       
    52         * Two-phased constructor.
       
    53         * @since Symbian V4
       
    54         * 
       
    55         * @return New drmbrowserlauncher instace.
       
    56         */
       
    57         IMPORT_C static CDrmBrowserLauncher* NewLC();
       
    58         
       
    59         /**
       
    60         * Two-phased constructor.
       
    61         * @since Symbian V4
       
    62         * 
       
    63         * @return New drmbrowserlauncher instace.
       
    64         */
       
    65         IMPORT_C static CDrmBrowserLauncher* NewL();
       
    66         
       
    67         /**
       
    68         * Static method for launching the Browser with a given URL.
       
    69         * @since Symbian V4
       
    70         * @param &aUrl URL to be launched in browser.
       
    71         */
       
    72         IMPORT_C void LaunchUrlL(TDesC &aUrl);       
       
    73    
       
    74    	private:
       
    75    		
       
    76    			/**
       
    77         * Constructor.
       
    78         * @since Symbian V4
       
    79         */
       
    80    			CDrmBrowserLauncher();
       
    81    
       
    82    			/**
       
    83         * Two-phased constructor second part.
       
    84         * @since Symbian V4
       
    85         */
       
    86         void ConstructL();
       
    87         
       
    88 };
       
    89 
       
    90 } // namespace DRM
       
    91 
       
    92 #endif      // DRMHELPERSESSION_H   
       
    93             
       
    94 // End of File