epoc32/include/pcstore/uid.h
branchSymbian3
changeset 4 837f303aceeb
equal deleted inserted replaced
3:e1b950c65cb4 4:837f303aceeb
       
     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__)