diff -r 6b1d113cdff3 -r 6638e7f4bd8f telephonyutils/telephonywatchers/inc/callstatewatcher.h --- a/telephonyutils/telephonywatchers/inc/callstatewatcher.h Mon May 03 13:37:20 2010 +0300 +++ b/telephonyutils/telephonywatchers/inc/callstatewatcher.h Thu May 06 15:10:38 2010 +0100 @@ -1,48 +1,48 @@ -// Copyright (c) 2001-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 __CALLSTATEWATCHER_H__ -#define __CALLSTATEWATCHER_H__ - -// System includes -#include - - -class CCallStateWatcher : public CActive -/** -@internalComponent -*/ - { -public: - ~CCallStateWatcher(); - CCallStateWatcher(RMobilePhone& aPhone, TInt aPriority = CActive::EPriorityStandard); - - TInt StartCallStateMonitor(); - -private: - void RunL(); - void DoCancel(); - TInt RunError(TInt aError); - TInt GetCallState(); - -private: - RMobilePhone& iPhone; - RLine iLine; - RMobileCall iCall; - RMobileCall::TMobileCallStatus iCallState; - }; - - -#endif +// Copyright (c) 2001-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 __CALLSTATEWATCHER_H__ +#define __CALLSTATEWATCHER_H__ + +// System includes +#include + + +class CCallStateWatcher : public CActive +/** +@internalComponent +*/ + { +public: + ~CCallStateWatcher(); + CCallStateWatcher(RMobilePhone& aPhone, TInt aPriority = CActive::EPriorityStandard); + + TInt StartCallStateMonitor(); + +private: + void RunL(); + void DoCancel(); + TInt RunError(TInt aError); + TInt GetCallState(); + +private: + RMobilePhone& iPhone; + RLine iLine; + RMobileCall iCall; + RMobileCall::TMobileCallStatus iCallState; + }; + + +#endif