equal
deleted
inserted
replaced
|
1 // Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
2 // All rights reserved. |
|
3 // This component and the accompanying materials are made available |
|
4 // under the terms of "Eclipse Public License v1.0" |
|
5 // which accompanies this distribution, and is available |
|
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
7 // |
|
8 // Initial Contributors: |
|
9 // Nokia Corporation - initial contribution. |
|
10 // |
|
11 // Contributors: |
|
12 // |
|
13 // Description: |
|
14 // |
|
15 |
|
16 #if !defined(__UID_H__) |
|
17 #define __UID_H__ |
|
18 |
|
19 #include <pcstore/pcstoredef.h> |
|
20 |
|
21 namespace PCStore |
|
22 { |
|
23 #define KNullUid TUid::Null() |
|
24 |
|
25 /** |
|
26 @internalAll |
|
27 |
|
28 A globally unique 32-bit number. |
|
29 */ |
|
30 class TUid |
|
31 { |
|
32 public: |
|
33 TBool operator==(const TUid& aUid) const; |
|
34 TBool operator!=(const TUid& aUid) const; |
|
35 static TUid Null(); |
|
36 |
|
37 public: |
|
38 /** |
|
39 The 32-bit integer UID value. |
|
40 */ |
|
41 TInt32 iUid; |
|
42 }; |
|
43 } |
|
44 #endif // !defined(__UID_H__) |