iaupdate/IAD/engine/inc/iaupdatefwnode.h
changeset 77 d1838696558c
parent 0 ba25891c3a9e
equal deleted inserted replaced
75:2d2d25361590 77:d1838696558c
     1 /*
     1 /*
     2 * Copyright (c) 2007-2008 Nokia Corporation and/or its subsidiary(-ies).
     2 * Copyright (c) 2007-2010 Nokia Corporation and/or its subsidiary(-ies).
     3 * All rights reserved.
     3 * All rights reserved.
     4 * This component and the accompanying materials are made available
     4 * This component and the accompanying materials are made available
     5 * under the terms of "Eclipse Public License v1.0"
     5 * under the terms of "Eclipse Public License v1.0"
     6 * which accompanies this distribution, and is available
     6 * which accompanies this distribution, and is available
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
    59          */
    59          */
    60         EFotiNsu,
    60         EFotiNsu,
    61 
    61 
    62         };
    62         };
    63 
    63 
       
    64     enum TUIUpdateState
       
    65         {
       
    66         ENormal,
       
    67         EPreparing
       
    68         };
       
    69     
    64 
    70 
    65     /**
    71     /**
    66      * @return TFwUpdateType The type of this firmware update.
    72      * @return TFwUpdateType The type of this firmware update.
    67      **/
    73      **/
    68     virtual TFwUpdateType FwType() const = 0;
    74     virtual TFwUpdateType FwType() const = 0;
   120      * @see MIAUpdateFwNode::InitDownloadDataL
   126      * @see MIAUpdateFwNode::InitDownloadDataL
   121      *
   127      *
   122      * @return const TDesC& Download URL for firmware update.
   128      * @return const TDesC& Download URL for firmware update.
   123      */
   129      */
   124     virtual const TDesC& ContentUrl() const = 0;
   130     virtual const TDesC& ContentUrl() const = 0;
       
   131     
       
   132     virtual void SetUiState( TUIUpdateState aState ) = 0;
       
   133         
       
   134     virtual TUIUpdateState UiState() const = 0;
   125 
   135 
   126 
   136 
   127 protected:
   137 protected:
   128 
   138 
   129     virtual ~MIAUpdateFwNode() { }
   139     virtual ~MIAUpdateFwNode() { }