diff -r 6385c4c93049 -r 8e6fa1719340 pushmtm/Inc/PushMtmProgress.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/pushmtm/Inc/PushMtmProgress.h Wed Sep 01 12:31:04 2010 +0100 @@ -0,0 +1,66 @@ +/* +* Copyright (c) 2002 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: Declaration of class TPushMtmProgress. +* +*/ + + + +#ifndef PUSHMTMPROGRESS_H +#define PUSHMTMPROGRESS_H + +// INCLUDE FILES + +#include + +// CLASS DECLARATION + +/** +* This class provides progress information for the client side Push MTM +* operations. This class is packaged into an 8 bit descriptor. +* This information packaged is returned by CMsvOperation::ProgressL(), for +* example. +*/ +class TPushMtmProgress + { + public: // Constructors + + inline TPushMtmProgress(); + + public: // New functions + + inline void Reset(); + + public: // Data + + TInt iTotalValue; ///< Final progress value. + TInt iCurrentValue; ///< Current progress value. + TInt iErrorCode1; ///< Error code. + TInt iErrorCode2; ///< Error code. + TInt iErrorCode3; ///< Error code. + }; + + +/// TPushMtmProgress packaged into a package buffer. +typedef TPckgBuf TPushMtmProgressBuf; + +/// TPushMtmProgress packaged into a pointer. +typedef TPckgC TPushMtmProgressPckg; + + +#include "PushMtmProgress.inl" + +#endif // PUSHMTMPROGRESS_H + +// End of File