diff -r 08008ce8a6df -r bde600d88860 messagingfw/sendas/editutils/src/csendaseikeditutils.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/messagingfw/sendas/editutils/src/csendaseikeditutils.cpp Fri Jun 04 10:32:16 2010 +0100 @@ -0,0 +1,64 @@ +// Copyright (c) 2005-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: +// + +#include "csendaseikeditutils.h" + +#include +#include + +const TImplementationProxy ImplementationTable[] = + { + IMPLEMENTATION_PROXY_ENTRY(0x1020806C, CSendAsEikEditUtils::NewL) + }; + +EXPORT_C const TImplementationProxy* ImplementationGroupProxy(TInt& aTableCount) + { + aTableCount = sizeof(ImplementationTable) / sizeof(TImplementationProxy); + + return ImplementationTable; + } + +CSendAsEikEditUtils* CSendAsEikEditUtils::NewL() + { + CSendAsEikEditUtils* self = new (ELeave) CSendAsEikEditUtils(); + return self; + } + +CSendAsEikEditUtils::CSendAsEikEditUtils() +: CSendAsEditUtils() + { + } + +CSendAsEikEditUtils::~CSendAsEikEditUtils() + { + iThread.Close(); + } + +// methods from CSendAsEditUtils + +void CSendAsEikEditUtils::LaunchEditorL(TMsvId aId, TRequestStatus& aStatus) + { + MturUtils::LaunchEditorL(aId, iThread, aStatus); + } + +void CSendAsEikEditUtils::LaunchEditorAndWaitL(TMsvId aId) + { + MturUtils::LaunchEditorAndWaitL(aId); + } + +void CSendAsEikEditUtils::Cancel() + { + iThread.Kill(KErrServerTerminated); + }