iaupdate/IAD/engine/inc/iaupdatefactory.h
changeset 0 ba25891c3a9e
equal deleted inserted replaced
-1:000000000000 0:ba25891c3a9e
       
     1 /*
       
     2 * Copyright (c) 2009 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 "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:   ?Description
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 #ifndef IAUPDATEFACTORY_H
       
    21 #define IAUPDATEFACTORY_H
       
    22 
       
    23 #include <e32cmn.h>
       
    24 
       
    25 class MIAUpdateController;
       
    26 class MIAUpdateControllerObserver;
       
    27 
       
    28 /**
       
    29  * Provides static functions to create IA objects.
       
    30  */
       
    31 namespace IAUpdateFactory
       
    32     {
       
    33     /** 
       
    34      * @param aFamilyUid Defines the uid for the client family.
       
    35      * @param aObserver Observer will be informed when the controller operations
       
    36      * progress.
       
    37      * @return MIAUpdateController* Update controller object that 
       
    38      * can be used through the given interface.
       
    39      * Ownership is transferred.
       
    40      */
       
    41     IMPORT_C MIAUpdateController* CreateControllerL( const TUid& aFamilyUid, 
       
    42                                                      MIAUpdateControllerObserver& aObserver );
       
    43     }
       
    44 
       
    45 #endif // IAUPDATEFACTORY_H
       
    46 
       
    47