diff -r 000000000000 -r c6b0df440bee dbgagents/trkagent/trkserver/trkdebugmgrcallbacks.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/dbgagents/trkagent/trkserver/trkdebugmgrcallbacks.h Tue Mar 02 10:33:16 2010 +0530 @@ -0,0 +1,45 @@ +/* +* Copyright (c) 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: +* +*/ + + +#ifndef __TRKDEBUGMGRCALLBACKS_H__ +#define __TRKDEBUGMGRCALLBACKS_H__ +#include +#include "TrkConnData.h" + +/** +* Abstract callback interface for TRK engine to call into the app for certain situations. +* All callbacks into the app from TRK engine can be added here. +*/ +class MTrkDebugMgrCallbacks +{ + public: + + /** + * Called by TRK engine when a connection status is changed + */ + virtual void DebugConnStatusChanged(TTrkConnStatus& aConnStatus) = 0; + + /** + * Called by TRK engine when debugging is started or stopped. + */ + virtual void DebuggingStatusChanged(TBool& aDebugging) = 0; + + +}; + +#endif //__TRKENGINECALLBACK_H__