diff -r 000000000000 -r 56b72877c1cb hotspotfw/hsserver/inc/hssscanlistiterator.inl --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/hotspotfw/hsserver/inc/hssscanlistiterator.inl Thu Dec 17 09:20:28 2009 +0200 @@ -0,0 +1,30 @@ +/* +* Copyright (c) 2002-2006 Nokia Corporation and/or its subsidiary(-ies). +* All rights reserved. +* This component and the accompanying materials are made available +* under the terms of "Eclipse Public License v1.0" +* which accompanies this distribution, and is available +* at the URL "http://www.eclipse.org/legal/epl-v10.html". +* +* Initial Contributors: +* Nokia Corporation - initial contribution. +* +* Contributors: +* +* Description: Implementation of ScanListIterator inline methods. +* +*/ + + + +#include "hssscanoffsets.h" + +// --------------------------------------------------------------------------- +// +// --------------------------------------------------------------------------- +// +inline TUint16 HssScanListIterator::Size() const +{ + return static_cast( CNTRL_HEADER_LEN + + *( reinterpret_cast( current_m + LENGTH_OFFSET ) ) ); +}