commonappservices/alarmserver/Server/Source/ASSrvAlarmSoundDetails.cpp
changeset 0 2e3d3ce01487
equal deleted inserted replaced
-1:000000000000 0:2e3d3ce01487
       
     1 // Copyright (c) 1999-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     2 // All rights reserved.
       
     3 // This component and the accompanying materials are made available
       
     4 // under the terms of "Eclipse Public License v1.0"
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 //
       
    15 
       
    16 #include "ASSrvAlarmSoundDetails.h"
       
    17 
       
    18 // System includes
       
    19 
       
    20 // User includes
       
    21 
       
    22 // Type definitions
       
    23 
       
    24 // Constants
       
    25 
       
    26 // Enumerations
       
    27 
       
    28 // Classes referenced
       
    29 
       
    30 
       
    31 //
       
    32 // ----> TASSrvAlarmSoundDetails (source)
       
    33 //
       
    34 
       
    35 //*************************************************************************************
       
    36 /**
       
    37  * Internalize this object's representation from a stream
       
    38  */
       
    39 void TASSrvAlarmSoundDetails::InternalizeL(RReadStream& aStream)
       
    40 	{
       
    41 	iOffsetInMinutes = aStream.ReadUint32L();
       
    42 	iDurationInSeconds = aStream.ReadUint32L();
       
    43 	}
       
    44 
       
    45 
       
    46 //*************************************************************************************
       
    47 /**
       
    48  * Externalize this object's representation to a stream
       
    49  */
       
    50 void TASSrvAlarmSoundDetails::ExternalizeL(RWriteStream& aStream) const
       
    51 	{
       
    52 	aStream.WriteUint32L(iOffsetInMinutes);
       
    53 	aStream.WriteUint32L(iDurationInSeconds);
       
    54 	}