mmappcomponents/harvester/server/inc/mpxhvsmsg.inl
changeset 0 a2952bb97e68
equal deleted inserted replaced
-1:000000000000 0:a2952bb97e68
       
     1 /*
       
     2 * Copyright (c) 2007 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:  Inline function declarations for harvester messages
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 // ---------------------------------------------------------------------------
       
    20 // Constructor
       
    21 // ---------------------------------------------------------------------------
       
    22 //
       
    23 inline RHvsMsg::RHvsMsg( const RMessage2 aMsg,TMPXHarvesterServerOp aOp ) :
       
    24                                                             iMsg( aMsg ),
       
    25                                                             iOp( aOp) 
       
    26     {
       
    27     }
       
    28 // ---------------------------------------------------------------------------
       
    29 // Returns RMessage2
       
    30 // ---------------------------------------------------------------------------
       
    31 //
       
    32 inline const RMessage2& RHvsMsg::Message()
       
    33     {
       
    34     return iMsg;
       
    35     }
       
    36 
       
    37 // ---------------------------------------------------------------------------
       
    38 // Returns the operation
       
    39 // ---------------------------------------------------------------------------
       
    40 //
       
    41 inline const TMPXHarvesterServerOp RHvsMsg::Op() 
       
    42     {
       
    43     return iOp;
       
    44     }
       
    45