os/security/authorisation/userpromptservice/inc_private/cleanuputils.h
author sl
Tue, 10 Jun 2014 14:32:02 +0200
changeset 1 260cb5ec6c19
permissions -rw-r--r--
Update contrib.
     1 /*
     2 * Copyright (c) 2005-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 the License "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 * Template class CleanupResetAndDestroy to clean up the array
    16 * of implementation information from the cleanup stack.
    17 *
    18 */
    19 
    20 
    21 
    22 
    23 /**
    24  @file
    25  @released
    26  @publishedPartner
    27 */
    28 
    29 template <class T>
    30 class CleanupResetAndDestroy
    31 	{
    32 public:
    33 	inline static void PushL(T& aRef);
    34 private:
    35 	static void ResetAndDestroy(TAny *aPtr);
    36 	};
    37 	
    38 template <class T>
    39 inline void CleanupResetAndDestroyPushL(T& aRef);
    40 
    41 
    42 #include "cleanuputils.inl"