diff -r 6b1d113cdff3 -r 6638e7f4bd8f telephonyserverplugins/ctsydispatchlayer/test/dispatchertests/dispatchinc/dialisvao.h --- a/telephonyserverplugins/ctsydispatchlayer/test/dispatchertests/dispatchinc/dialisvao.h Mon May 03 13:37:20 2010 +0300 +++ b/telephonyserverplugins/ctsydispatchlayer/test/dispatchertests/dispatchinc/dialisvao.h Thu May 06 15:10:38 2010 +0100 @@ -1,64 +1,59 @@ -// 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: -// - -/** - @file - @internalAll -*/ - -#ifndef DIALISVAO_H -#define DIALISVAO_H - -#include -#include -#include - -/** - * Wrapper active object to use with CTelephony to dial a call. - */ -class CDialIsvAO : public CActive - { -public: - - ~CDialIsvAO(); - static CDialIsvAO* NewL(); - static CDialIsvAO* NewLC(); - void Dial(); - - TInt Status() { return iError; } - -private: - - CDialIsvAO(); - void ConstructL(); - -private: // From CActive - - void RunL(); - void DoCancel(); - TInt RunError(TInt aError); - -private: // Owned - - CTelephony* iTelephony; - CTelephony::TCallId iCallId; - - CActiveScheduler* iScheduler; - - TInt iError; - - }; // class CDialIsvAO - -#endif // DIALISVAO_H +// 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: +// + +#ifndef DIALISVAO_H +#define DIALISVAO_H + +#include +#include +#include + +/** + * Wrapper active object to use with CTelephony to dial a call. + */ +class CDialIsvAO : public CActive + { +public: + + ~CDialIsvAO(); + static CDialIsvAO* NewL(); + static CDialIsvAO* NewLC(); + void Dial(); + + TInt Status() { return iError; } + +private: + + CDialIsvAO(); + void ConstructL(); + +private: // From CActive + + void RunL(); + void DoCancel(); + TInt RunError(TInt aError); + +private: // Owned + + CTelephony* iTelephony; + CTelephony::TCallId iCallId; + + CActiveScheduler* iScheduler; + + TInt iError; + + }; // class CDialIsvAO + +#endif // DIALISVAO_H