installationservices/swi/source/swiutils/swiutils.h
branchRCL_3
changeset 19 7ca52d38f8c3
equal deleted inserted replaced
18:3ba40be8e484 19:7ca52d38f8c3
       
     1 /*
       
     2 * Copyright (c) 2010 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 * swiutils.h
       
    16 */
       
    17 
       
    18 /**
       
    19  @file 
       
    20  @publishedAll
       
    21  @released
       
    22 */
       
    23 
       
    24 
       
    25 #ifndef __SWIUTILS_H__
       
    26 #define __SWIUTILS_H__
       
    27 
       
    28 #include <e32def.h> 
       
    29 #include <e32cmn.h> 
       
    30 
       
    31 namespace Swi
       
    32     {
       
    33     const TInt KMaxUidCount = 16; //One more than the maximum number of Uids that the array, publishing the Uids, holds
       
    34     
       
    35     /**
       
    36      * Returns an array of package Uids published by the installer.
       
    37      * @param aUidList Array which holds a list of Uids that is published.
       
    38      * @return KErrNone in case of success otherwise one of the system-wide error codes.
       
    39      */
       
    40     IMPORT_C TInt GetAllUids(RArray<TUid>& aUidList);
       
    41     } //end of namespace SWI
       
    42 
       
    43 #endif