diff -r 78fbd574edf4 -r da856f45b798 zeroconf/client/inc/cmdnsquerypublishnotifier.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/zeroconf/client/inc/cmdnsquerypublishnotifier.h Thu Jun 24 19:09:47 2010 +0530 @@ -0,0 +1,62 @@ +// Copyright (c) 2008-2009 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: +// cmdnsquerypublishnotifier.h +// +// +/** +@file +@internalTechnology +*/ + +#ifndef __CMDNSQUERYPUBLISHNOTIFIER_H__ +#define __CMDNSQUERYPUBLISHNOTIFIER_H__ +#include +#include "cmdnsserverconstants.h" +#include +#include "mdnsdebug.h" +class MPnPObserver; + +class RMdns; +class CMdnsQueryPublishNotifier :public CActive + { + public : + static CMdnsQueryPublishNotifier* NewL(RMdns& aMdns); + ~CMdnsQueryPublishNotifier(); + void RunL(); + void DoCancel(); + TPckg& BufferLength(); + void SetEventNotifierActive(); + TRequestStatus& EventNotifierStatus(); + void SetPnpObserver(MPnPObserver* aObserver); + TMdnsServerMessages State() const ; + void SetState(TMdnsServerMessages aState); + + private: + CMdnsQueryPublishNotifier(RMdns& aMdns); + void ConstructL(); + private: + TInt iBufferLength; + TPckg iPckgLength; + RMdns& iMdns; + MPnPObserver* iObserver; + TMdnsServerMessages iState; + TInt iPublishResult; + TBuf8 iPublishName; + /** + FLOGGER debug trace member variable. + */ + __FLOG_DECLARATION_MEMBER_MUTABLE; + }; + +#endif