diff -r 4697dfb2d7ad -r 238255e8b033 messagingapp/msgutils/unieditorutils/inc/MuiuOperationWait.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/messagingapp/msgutils/unieditorutils/inc/MuiuOperationWait.h Fri Apr 16 14:56:15 2010 +0300 @@ -0,0 +1,57 @@ +/* + * 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: Allows a synchronous wait on a operation + * + */ + +#ifndef __MUIUOPERATIONWAIT_H__ +#define __MUIUOPERATIONWAIT_H__ + +// INCLUDES +#include "muiuutilsdefines.h" +#include +#include + +QT_BEGIN_HEADER + +QT_BEGIN_NAMESPACE + +// CLASS DECLARATION +/** +* +* Deprecated! Use internal CMsgOperationWait instead! +* +* Allows a synchronous wait on a operation. +*/ +class MUIU_UTILS_EXPORT CMuiuOperationWait: public CActive + { + public: + static CMuiuOperationWait* NewLC( TInt aPriority = EPriorityStandard ); + ~CMuiuOperationWait(); + void Start(); + protected: + CMuiuOperationWait( TInt aPriority ); + void RunL(); + void DoCancel(); + protected: + CActiveSchedulerWait iWait; + }; + +QT_END_NAMESPACE + +QT_END_HEADER + +#endif //__MUIUOPERATIONWAIT_H__ + +// End of file