00001 // Copyright (c) 1999-2009 Nokia Corporation and/or its subsidiary(-ies). 00002 // All rights reserved. 00003 // This component and the accompanying materials are made available 00004 // under the terms of "Eclipse Public License v1.0" 00005 // which accompanies this distribution, and is available 00006 // at the URL "http://www.eclipse.org/legal/epl-v10.html". 00007 // 00008 // Initial Contributors: 00009 // Nokia Corporation - initial contribution. 00010 // 00011 // Contributors: 00012 // 00013 // Description: 00014 // 00015 00016 #include <e32std.h> 00017 #include "TXTU.H" 00018 #include "Txtupan.h" 00019 00020 // Global function declarations 00021 00022 GLDEF_C void Panic(TTxtuMtmUdPanic aPanic) 00023 // Panic function 00024 { 00025 _LIT(KTEXTMTMUIPanic,"TEXT MTMUI"); 00026 User::Panic(KTEXTMTMUIPanic, aPanic); 00027 } 00028 00029 EXPORT_C CBaseMtmUi* NewMtmUiL(CBaseMtm& aMtm, CRegisteredMtmDll& aRegisteredDll) 00030 // Factory function 00031 { 00032 return CTextMtmUi::NewL(aMtm, aRegisteredDll); 00033 }