diff -r 000000000000 -r ba25891c3a9e iaupdate/IAD/updater/updaterfiles/inc/iaupdaterresult.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/iaupdate/IAD/updater/updaterfiles/inc/iaupdaterresult.h Thu Dec 17 08:51:10 2009 +0200 @@ -0,0 +1,81 @@ +/* +* Copyright (c) 2007-2007 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: CIAUpdaterResult +* +*/ + + + + +#ifndef IA_UPDATER_RESULT_H +#define IA_UPDATER_RESULT_H + + +#include +#include +#include + +class CIAUpdaterIdentifier; + +/** + * + */ +class CIAUpdaterResult : public CBase + { + +public: + + IMPORT_C static CIAUpdaterResult* NewL(); + + IMPORT_C static CIAUpdaterResult* NewLC(); + + + IMPORT_C virtual ~CIAUpdaterResult(); + + IMPORT_C CIAUpdaterIdentifier& Identifier(); + + IMPORT_C TInt ErrorCode() const; + IMPORT_C void SetErrorCode( const TInt aErrorCode ); + + IMPORT_C TBool Hidden() const; + IMPORT_C void SetHidden( TBool aHidden ); + + + void InternalizeL( RReadStream& aStream ); + + void ExternalizeL( RWriteStream& aStream ); + + +private: + + // Prevent these if not implemented + CIAUpdaterResult( const CIAUpdaterResult& aObject ); + CIAUpdaterResult& operator =( const CIAUpdaterResult& aObject ); + + + CIAUpdaterResult(); + + void ConstructL(); + + +private: // data + + CIAUpdaterIdentifier* iIdentifier; + TInt iErrorCode; + TBool iHidden; + + }; + +#endif // IA_UPDATER_RESULT_H +