stif/Parser/inc/cstackdeprecated.h
changeset 36 813b186005b6
parent 30 86a2e675b80a
child 41 838cdffd57ce
equal deleted inserted replaced
30:86a2e675b80a 36:813b186005b6
     1 /*
       
     2 * Copyright (c) 2000-2007 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: 
       
    15 *
       
    16 */
       
    17 
       
    18 // CStackDeprecated class was part of Symbian enviroment(as a CStack.h), but now it is deprecated. 
       
    19 
       
    20 #ifndef __CSTACKDEPRECATED_H__
       
    21 #define __CSTACKDEPRECATED_H__
       
    22 
       
    23 #include <e32base.h>
       
    24 
       
    25 #pragma warning (disable : 4127) // conditional expression is constant
       
    26 
       
    27 
       
    28 /**	
       
    29 	@file
       
    30 	@publishedAll
       
    31 	@released
       
    32 */
       
    33 
       
    34 
       
    35 template <class T, TBool StackOwnsEntry>
       
    36 class CStackDeprecated : /*protected CArrayPtrSeg<T>*/ public CArrayPtrSeg<T>
       
    37 	{
       
    38 public:
       
    39 	inline CStackDeprecated();
       
    40 	inline ~CStackDeprecated();
       
    41 
       
    42 	inline void Clear();		
       
    43 	inline TBool IsEmpty() const;
       
    44 	inline void PushL(T* aItem);
       
    45 	inline T* Pop();
       
    46 	inline T* Head() const;
       
    47 	inline T* Last() const;		
       
    48 	};
       
    49 
       
    50 #include "cstackdeprecated.inl"
       
    51 
       
    52 #pragma warning ( default : 4127 ) // conditional expression is constant
       
    53 
       
    54 #endif // __CSTACK_HDEPRECATED__
       
    55 
       
    56 // End of File