diff -r 000000000000 -r 667063e416a2 supl/locationomasuplprotocolhandler/protocolhandlerver1/inc/epos_momapacketsendobserver.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/supl/locationomasuplprotocolhandler/protocolhandlerver1/inc/epos_momapacketsendobserver.h Tue Feb 02 01:06:48 2010 +0200 @@ -0,0 +1,47 @@ +/* +* Copyright (c) 2002-2005 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: Class for doing asynchronous service. +* +*/ + + + +#ifndef M_MOMAPACKETSENDOBSERVER_H +#define M_MOMAPACKETSENDOBSERVER_H + +#include + +//Observer class for Packet Send +class MPacketSendObserver +{ + public: + /** + * SendComplete Method. + * @since S60 v3.1u + * @param aErrorCode, error code,if some error occurs during asynchronous operation + * @return None + */ + virtual void SendComplete(TInt aErrorCode) = 0; + + /** + * ConnectionComplete Method. + * @since S60 v3.1u + * @param aErrorCode, error code,if some error occurs during asynchronous operation + * @return None + */ + virtual void ConnectionComplete(TInt aErrorCode) = 0; + +}; + +#endif //M_MOMAPACKETSENDOBSERVER_H