inc/glxhierarchyid.h
changeset 23 74c9f037fd5d
equal deleted inserted replaced
5:f7f0874bfe7d 23:74c9f037fd5d
       
     1 /*
       
     2 * Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:   Media list hierarchy id
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 #ifndef T_GLXHIERARCHYID_H
       
    21 #define T_GLXHIERARCHYID_H
       
    22 
       
    23 #include <e32base.h>
       
    24 
       
    25 #include "glxid.h"
       
    26 
       
    27 /**
       
    28  *  TGlxIdHierarchyBase
       
    29  *
       
    30  *  Don't use this. This is just to make TGlxId type-safe for TGlxHierarchyId
       
    31  *
       
    32  *  @lib none
       
    33  */
       
    34 class TGlxIdHierarchyBase {}; 
       
    35 
       
    36 /**
       
    37  *  TGlxHierarchyId
       
    38  *
       
    39  *  Typesafe Hierarchy identifier.
       
    40  *
       
    41  *  @lib none
       
    42  */
       
    43 typedef TGlxId<TGlxIdHierarchyBase> TGlxHierarchyId;
       
    44 
       
    45 #endif // T_GLXHIERARCHYID_H