equal
deleted
inserted
replaced
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 */ |
32 * Allocates a single UID and returns it or leaves with KErrNotFound. |
33 * Allocates a single UID and returns it or leaves with KErrNotFound. |
33 */ |
34 */ |
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 static TBool IsCWRTWidget( TUid aUid ); |
|
38 }; |
38 }; |
39 #endif |
39 #endif |
|
40 |