email/mail/inc/MMessageLoadObserver.h
changeset 0 72b543305e3a
equal deleted inserted replaced
-1:000000000000 0:72b543305e3a
       
     1 /*
       
     2 * Copyright (c) 2002-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:  Message load observer.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 #ifndef MMESSAGELOADOBSERVER_H
       
    21 #define MMESSAGELOADOBSERVER_H
       
    22 
       
    23 
       
    24 // FORWARD DECLARATIONS
       
    25 class CMailMessage;
       
    26 
       
    27 // CLASS DECLARATION
       
    28 
       
    29 /**
       
    30 *  MMessageLoadObserver interface.
       
    31 *
       
    32 *  @since Series 60 3.0
       
    33 */
       
    34 class MMessageLoadObserver
       
    35     {
       
    36     public:  // destructor
       
    37         /**
       
    38         * Destructor.
       
    39         */
       
    40         virtual ~MMessageLoadObserver(){};
       
    41 
       
    42     public: // New functions
       
    43 
       
    44         /**
       
    45         * MessageLoadedL.
       
    46         * @since Series 60 3.0
       
    47         * Called when loading a message.
       
    48         * @param aStatus loading status
       
    49         * @param aMessage message that contains loaded parts. 
       
    50         */
       
    51         virtual void MessageLoadingL(TInt aStatus, CMailMessage& aMessage) = 0;
       
    52 
       
    53     };
       
    54 
       
    55 #endif      // MMESSAGELOADOBSERVER_H
       
    56 
       
    57 // End of File