webengine/widgetregistry/Server/inc/UidAllocator.h
branchRCL_3
changeset 49 919f36ff910f
parent 48 79859ed3eea9
equal deleted inserted replaced
48:79859ed3eea9 49:919f36ff910f
    13 *
    13 *
    14 * Description:  Class which allocates random UIDs from a given range
    14 * Description:  Class which allocates random UIDs from a given range
    15 *
    15 *
    16 */
    16 */
    17 
    17 
    18 
       
    19 #ifndef UIDALLOCATOR_H
    18 #ifndef UIDALLOCATOR_H
    20 #define UIDALLOCATOR_H
    19 #define UIDALLOCATOR_H
    21 
    20 
    22 // INCLUDE FILES
    21 // INCLUDE FILES
    23 #include "WidgetRegistryConstants.h"
    22 #include <widgetregistryconstants.h>
    24 
    23 
    25 /**
    24 /**
    26  * This class allows clients to allocate a UID from a given range.
    25  * This class allows clients to allocate a UID from a given range.
    27  * @internalComponent
    26  * @internalComponent
    28  */
    27  */
    33     * Allocates a single UID and returns it or leaves with KErrNotFound.
    32     * Allocates a single UID and returns it or leaves with KErrNotFound.
    34     */
    33     */
    35     TInt AllocateL( const RUidArray& aUsedUids, TInt aDriveLetter );
    34     TInt AllocateL( const RUidArray& aUsedUids, TInt aDriveLetter );
    36 
    35 
    37     static TBool IsWidget( TUid aUid );
    36     static TBool IsWidget( TUid aUid );
       
    37     static TBool IsCWRTWidget( TUid aUid );
    38     };
    38     };
    39 #endif
    39 #endif
    40