webengine/widgetregistry/Server/inc/UidAllocator.h
changeset 65 5bfc169077b2
parent 37 cb62a4f66ebe
equal deleted inserted replaced
42:d39add9822e2 65:5bfc169077b2
    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 
    18 #ifndef UIDALLOCATOR_H
    19 #ifndef UIDALLOCATOR_H
    19 #define UIDALLOCATOR_H
    20 #define UIDALLOCATOR_H
    20 
    21 
    21 // INCLUDE FILES
    22 // INCLUDE FILES
    22 #include <widgetregistryconstants.h>
    23 #include "WidgetRegistryConstants.h"
    23 
    24 
    24 /**
    25 /**
    25  * This class allows clients to allocate a UID from a given range.
    26  * This class allows clients to allocate a UID from a given range.
    26  * @internalComponent
    27  * @internalComponent
    27  */
    28  */
    34     TInt AllocateL( const RUidArray& aUsedUids, TInt aDriveLetter );
    35     TInt AllocateL( const RUidArray& aUsedUids, TInt aDriveLetter );
    35 
    36 
    36     static TBool IsWidget( TUid aUid );
    37     static TBool IsWidget( TUid aUid );
    37     };
    38     };
    38 #endif
    39 #endif
       
    40