void CAgnAttachment::ExternalizeL(RWriteStream& aStream) const
	{
	aStream.WriteUint8L(Type());
	
	aStream << MimeType();
	aStream.WriteUint32L(iUid);
	aStream.WriteUint16L(iAttributes);
	aStream.WriteUint16L(iFlags);
	aStream.WriteInt32L(iSize);
	aStream << Label();
	}
예제 #2
0
// -----------------------------------------------------------------------------
// CMceComAudioCodec::ExternalizeFlatL
// -----------------------------------------------------------------------------
//
void CMceComAudioCodec::ExternalizeFlatL( RWriteStream& aWriteStream )
    {
    CMceComCodec::ExternalizeFlatL( aWriteStream );
    
    aWriteStream.WriteUint8L( iEnableVAD );
    aWriteStream.WriteUint16L( iSamplingFreq );
    aWriteStream.WriteUint16L( iPTime );
    aWriteStream.WriteUint16L( iMaxPTime ); 
    
    aWriteStream.WriteUint8L( iRedPayloadType );
    aWriteStream.WriteUint16L( iRedCount ); 
    aWriteStream.WriteUint8L( iComfortNoiseEnabled );
    }
예제 #3
0
// ---------------------------------------------------------------------------
// CCmStoreListItem::ExternalizeL
// ---------------------------------------------------------------------------
//
EXPORT_C void CCmStoreListItem::ExternalizeL( RWriteStream& aStream ) const
    {                
    aStream.WriteUint16L( iListId );
    aStream.WriteUint16L( iDeviceIds.Count() );
    for( TInt i = 0; i < iDeviceIds.Count(); i++ )
        {
        aStream.WriteInt16L( iDeviceIds[i] );    
        }
    aStream.WriteInt16L( iStatusValues.Count() );
    for( TInt i = 0; i < iStatusValues.Count(); i++ )
        {
        aStream.WriteInt16L( iStatusValues[i] );    
        }            
    CCmBaseListItem::ExternalizeL(aStream);              
    }
// -----------------------------------------------------------------------------
// CPhCltEmergencyTelNumber::ExternalizeL
//
// -----------------------------------------------------------------------------
//
EXPORT_C void CPhCltEmergencyTelNumber::ExternalizeL(
    RWriteStream& aStream ) const
    {
    aStream << *iTelNumber;
    aStream.WriteUint16L( iFieldMCC );
    aStream.WriteUint16L( iFieldMNC );
    }
// -----------------------------------------------------------------------------
// TAccPolCapsSubblockNameArraySerial::ExternalizeL
// Externalize name array data to the write stream.
// (other items were commented in a header).
// -----------------------------------------------------------------------------
//
EXPORT_C void TAccPolCapsSubblockNameArraySerial::ExternalizeL( 
    const CAccPolSubblockNameArray& aArray, 
    RWriteStream& aStream )
    {
    COM_TRACE_( "[AccFW: ACCPOLICY] TAccPolCapsSubblockNameArraySerial::ExternalizeL()" );

    TUint16 count( TAccPolSubblockNameArrayAccessor::GetCount( aArray ) );
    aStream.WriteUint16L( count );
    for ( TInt16 i( 0 ); i < count; ++i )
        {
          TUint32 name;
      	  TAccPolSubblockNameArrayAccessor::GetName( aArray, i, name );
		  aStream.WriteUint16L( name );
        }
        
    COM_TRACE_( "[AccFW: ACCPOLICY] TAccPolCapsSubblockNameArraySerial::ExternalizeL() - return void" );          
    }
예제 #6
0
/**
Externalises the configuration of the BIC
 
@param aWriteStream A write stream to write BIC data to
@leave	One of the system-wide error codes.
*/
void CCmdCustomCommand::ExternalizeL(RWriteStream& aWriteStream) const
	{
	aWriteStream.WriteInt16L(iSeverity);
	aWriteStream.WriteUint8L(iExecutionBehaviour);
	iInfo->ExternalizeL(aWriteStream);
#ifdef SYMBIAN_SSM_FLEXIBLE_MERGE
	aWriteStream.WriteUint16L(iPriority);
#endif
	}
예제 #7
0
/**
Externalises the configuration of the BIC
 
@param aWriteStream A write stream to write BIC data to
*/
void CCmdPublishSwp::ExternalizeL(RWriteStream& aWriteStream) const
	{
	aWriteStream.WriteInt16L(iSeverity);
	aWriteStream.WriteUint8L(iExecutionBehaviour);
	aWriteStream.WriteUint32L(iSwpInfo.Key());
	aWriteStream.WriteInt32L(iSwpInfo.Value());
#ifdef SYMBIAN_SSM_FLEXIBLE_MERGE
	aWriteStream.WriteUint16L(iPriority);
#endif
	}
// -----------------------------------------------------------------------------
// CSyncMLTransportPropertiesArray::ExternalizeL
// Externalizes the properties to the stream.
// -----------------------------------------------------------------------------
//
EXPORT_C void CSyncMLTransportPropertiesArray::ExternalizeL( RWriteStream& aStream ) const
{
    // first write count
    aStream.WriteUint16L( Count() );

    // write each property
    for ( TInt i = 0; i < Count(); ++i )
    {
        iElements[i].ExternalizeL( aStream );
    }
}
// ---------------------------------------------------------------------------
// CAccPolAudioControlBase::ExternalizeAudioControlbaseL()
// ---------------------------------------------------------------------------
//   
EXPORT_C void CAccPolAudioControlBase::ExternalizeAudioControlbaseL(
    RWriteStream& aStream ) const
    {
    API_TRACE_( "[AccFW:ACCPOLAUDIODEVICETOPOLOGY] CAccPolAudioControlBase::ExternalizeAudioControlbaseL() - Enter" );

    aStream.WriteUint8L( iUnitId );
    aStream.WriteUint16L( iChannel );

    API_TRACE_1( "[AccFW: ACCPOLAUDIODEVICETOPOLOGY] CAccPolAudioControlBase::ExternalizeAudioControlbaseL() - Unit Id=%d", iUnitId );
    API_TRACE_1( "[AccFW: ACCPOLAUDIODEVICETOPOLOGY] CAccPolAudioControlBase::ExternalizeAudioControlbaseL() - Channel number=%d", iChannel );

    API_TRACE_( "[AccFW:ACCPOLAUDIODEVICETOPOLOGY] CAccPolAudioControlBase::ExternalizeAudioControlbaseL - Return" );
    }