videofeeds/vcnsuiengine/inc/vcxnsupdateprogressif.h
changeset 0 96612d01cf9f
equal deleted inserted replaced
-1:000000000000 0:96612d01cf9f
       
     1 /*
       
     2 * Copyright (c) 2008 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of the License "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description: 
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 
       
    21 #ifndef M_VCXNSUPDATEPROGRESSIF_H
       
    22 #define M_VCXNSUPDATEPROGRESSIF_H
       
    23 
       
    24 // INCLUDES
       
    25 #include <e32base.h>
       
    26 
       
    27 class MVcxNsUpdateProgressObserver;
       
    28 
       
    29 // CLASS DECLARATION
       
    30 
       
    31 /**
       
    32 * Class MVcxNsUpdateProgressIf
       
    33 *
       
    34 * @lib vcxnsuiengine.lib
       
    35 */
       
    36 class MVcxNsUpdateProgressIf
       
    37     {
       
    38 
       
    39 public:
       
    40 
       
    41     /**
       
    42      * From MVcxNsUpdateProgressIf
       
    43      * RegisterObserver.
       
    44      * @param aObserver Observer 
       
    45      */
       
    46     virtual void RegisterObserver( MVcxNsUpdateProgressObserver* aObserver ) = 0;
       
    47 
       
    48     /**
       
    49      * From MVcxNsUpdateProgressIf
       
    50      * DeRegisterObserver.
       
    51      * @param aObserver Observer 
       
    52      */
       
    53     virtual void DeRegisterObserver( MVcxNsUpdateProgressObserver* aObserver ) = 0;
       
    54 
       
    55     /**
       
    56      * From MVcxNsUpdateProgressIf
       
    57     * Get progress.
       
    58     * @param aServiceId Service id which progress is requested
       
    59     * @return Progress between 0-99, KErrNotFound if not available
       
    60      */
       
    61     virtual TInt GetProgress( TUint32 aServiceId ) = 0;
       
    62     
       
    63     };
       
    64 
       
    65 #endif // M_VCXNSUPDATEPROGRESSIF_H