First public contribution.
1 // Copyright (c) 1994-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 the License "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".
8 // Initial Contributors:
9 // Nokia Corporation - initial contribution.
14 // e32\euser\cbase\ub_utl.cpp
20 _LIT(KE32UserCBase, "E32USER-CBase");
21 GLDEF_C void Panic(TBasePanic aPanic)
23 // Panic the process with E32USER-ADT as the category.
27 User::Panic(KE32UserCBase, aPanic);
36 Enables any derived object to be deleted through a CBase* pointer.
38 EXPORT_C CBase::~CBase()
49 EXPORT_C TInt CBase::Extension_(TUint, TAny*& a0, TAny*)
52 return KErrExtensionNotSupported;
59 Deletes the specified object.
61 @param aPtr Pointer to the CBase derived object to be deleted.
63 EXPORT_C void CBase::Delete(CBase* aPtr)