email/mail/PluginSrc/MailPlainView/MMailStateMachine.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:  state machine call back api
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 #ifndef MMAILLOADSTATEMACHINE_H
       
    21 #define MMAILLOADSTATEMACHINE_H
       
    22 
       
    23 #include <e32cmn.h>
       
    24 
       
    25 /**
       
    26 *  MStateMachine
       
    27 *  State machine call back API.
       
    28 *
       
    29 *  @since Series 60 3.0
       
    30 */
       
    31 class MStateMachine
       
    32 	{
       
    33 	public: // new methods
       
    34 		/**
       
    35         * SetIdArray.
       
    36         * @since Series 60 3.0
       
    37         * @param aIdArray Pointer array.
       
    38         * 	Takes ownership immediately.
       
    39         */
       
    40 		virtual void SetIdArray( RPointerArray<HBufC>* aIdArray ) = 0;
       
    41 		
       
    42 		/**
       
    43         * GetIdArray.
       
    44         * @since Series 60 3.0
       
    45         * @return Pointer array
       
    46         * Ownership is not transferred.
       
    47         */	    
       
    48 	    virtual RPointerArray<HBufC>* GetIdArray() = 0;
       
    49 	    
       
    50 	    /// Destructor
       
    51 	    virtual ~MStateMachine() {};
       
    52 	};
       
    53 
       
    54 #endif      // MMAILLOADSTATEMACHINE_H 
       
    55             
       
    56 // End of File