browserui/browser/BrowserAppInc/BmOTABinSender.h
branchRCL_3
changeset 64 6385c4c93049
parent 63 4baee4f15982
child 65 8e6fa1719340
equal deleted inserted replaced
63:4baee4f15982 64:6385c4c93049
     1 /*
       
     2 * Copyright (c) 2002 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 the License "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: 
       
    15 *     Declaration of MBmOTABinSender.
       
    16 *
       
    17 *
       
    18 */
       
    19 
       
    20 
       
    21 
       
    22 #ifndef MBMOTABINSENDER_H
       
    23 #define MBMOTABINSENDER_H
       
    24 
       
    25 // INCLUDES
       
    26 
       
    27 	// System includes
       
    28 #include <e32def.h>
       
    29 
       
    30 	// User includes
       
    31 
       
    32 // CLASS DECLARATION
       
    33 	
       
    34 /**
       
    35 *  Interface to Bookmarks OTA Binary Sending.
       
    36 *  @lib Browser.app
       
    37 *  @since Series 60 1.2
       
    38 */
       
    39 class MBmOTABinSender
       
    40     {
       
    41     public:
       
    42 
       
    43         /**
       
    44         * Reset and destroy bookmark list.
       
    45         * @since Series 60 1.2
       
    46         */
       
    47         virtual void ResetAndDestroy() = 0;
       
    48 
       
    49         /**
       
    50         * Add bookmark title and URL to be sent
       
    51         * this class will destroy passed objects.
       
    52         * @since Series 60 1.2
       
    53         * @param aURL bookmark's URL
       
    54         * @param aTitle bookmark's title can be Null
       
    55         */
       
    56         virtual void AppendL
       
    57             ( const TText *aURL, const TText *aTitle = NULL ) = 0;
       
    58 
       
    59         /**
       
    60         * Add bookmark title and URL to be sent
       
    61         * this class will destroy passed objects
       
    62         * @since Series 60 1.2
       
    63         * @param aURL bookmark's URL
       
    64         * @param aTitle bookmark's title
       
    65         */
       
    66         virtual void AppendL( const TDesC& aURL, const TDesC& aTitle ) = 0;
       
    67 
       
    68         /**
       
    69         * Sends all the bookmarks added with AddL().
       
    70         * @since Series 60 1.2
       
    71         */
       
    72         virtual void SendAddressL(  ) = 0;
       
    73 
       
    74 		/**
       
    75         * Sends an OPML file.
       
    76         * @since Series 60 3.2
       
    77         */
       
    78         virtual void SendOPMLFileL(const TDesC& aOPMLFile) = 0;
       
    79     };
       
    80 
       
    81 #endif
       
    82 
       
    83 
       
    84 // End of File