diff -r 07b41fa8d1dd -r ca8a1b6995f6 debugsrv/runmodedebug/rmdriver/inc/debug_utils.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/debugsrv/runmodedebug/rmdriver/inc/debug_utils.h Tue Aug 31 16:45:49 2010 +0300 @@ -0,0 +1,38 @@ +// Copyright (c) 2004-2010 Nokia Corporation and/or its subsidiary(-ies). +// All rights reserved. +// This component and the accompanying materials are made available +// under the terms of the License "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: +// Purpose: Static functions for use by debug driver classes +// + +/** + * @file + * @internalComponent + * @released + */ + +#ifndef DEBUG_UTILS_H +#define DEBUG_UTILS_H + +#include +#include + +class DebugUtils + { +public: + static DThread* OpenThreadHandle(TUint64 aThreadId); + static DProcess* OpenProcessHandle(TUint64 aProcessId); + static DThread* OpenFirstThreadForProcess(DProcess* aProcess); + }; + +#endif //DEBUG_UTILS_H +