mmappfw_plat/mpx_playback_common_definition_api/inc/mpxplaybackmessage.inl
changeset 0 a2952bb97e68
equal deleted inserted replaced
-1:000000000000 0:a2952bb97e68
       
     1 /*
       
     2 * Copyright (c) 2009 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 implementation of playback messge 
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 // -----------------------------------------------------------------------------
       
    20 // C++ constructor
       
    21 // -----------------------------------------------------------------------------
       
    22 //
       
    23 inline TMPXPlaybackMessage::TMPXPlaybackMessage(TEvent aEvent,
       
    24                                                 TInt aType /*= 0*/,
       
    25                                                 TInt aData /*= 0*/)
       
    26     : TMPXMessage(aEvent, aType, aData)
       
    27     {}
       
    28 
       
    29 // -----------------------------------------------------------------------------
       
    30 // C++ constructor
       
    31 // -----------------------------------------------------------------------------
       
    32 //
       
    33 inline TMPXPlaybackMessage::TMPXPlaybackMessage()
       
    34     : TMPXMessage(ENoEvent,0,0)
       
    35     {} 
       
    36 
       
    37 // -----------------------------------------------------------------------------
       
    38 // Copy constructor
       
    39 // -----------------------------------------------------------------------------
       
    40 //
       
    41 inline TMPXPlaybackMessage::TMPXPlaybackMessage(const TMPXPlaybackMessage& aMsg)
       
    42     : TMPXMessage(aMsg)
       
    43     {
       
    44     }
       
    45 
       
    46 // -----------------------------------------------------------------------------
       
    47 // Overloaded assignment operator
       
    48 // -----------------------------------------------------------------------------
       
    49 //
       
    50 inline TMPXPlaybackMessage& TMPXPlaybackMessage::operator=(
       
    51     const TMPXPlaybackMessage& aMsg)
       
    52     {
       
    53     TMPXMessage::operator =(aMsg);
       
    54     return *this;
       
    55     }