diff -r 65a3ef1d5bd0 -r f742655b05bf voipplugins/dhcppositionprovider/inc/dhcpdataresponsepacket.h --- a/voipplugins/dhcppositionprovider/inc/dhcpdataresponsepacket.h Thu Aug 19 09:45:22 2010 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,73 +0,0 @@ -/* -* Copyright (c) 2007 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: -* -*/ - - -#ifndef DHCPDATARESPONSEPACKET_H -#define DHCPDATARESPONSEPACKET_H - -#include -#include -#include "dhcpdatapacket.h" -#include "dhcpconstants.h" - -/** -* This class wraps the DHCP response message for location -* query request -* -* @lib -* @since S60 3.2 -*/ -class TDhcpDataResponsePacket : public TDhcpBasePacket - { - public: - - /** - * Default constructor. - * @since S60 3.2 - */ - TDhcpDataResponsePacket (); - - /** - * Parses the DHCP ack message - * @since S60 3.2 - * @returns KErrNone If both or other option found. - * KErrNotFound If magic cookie can't located or no support - * options found from entered buffer. - */ - TInt ParseDHCPAck(); - - public: // data - - /** - * DHCP message identifier - */ - TInt iXid; - - /** - * Parsed geoConf data, length fixed to 16 bytes - */ - TBuf8 iGeoConf; - - /** - * Parsed civic address data - */ - TBuf8 iCivicAddress; - - }; - -#endif // DHCPDATARESPONSEPACKET_H -