diff -r 42814f902fe6 -r 38571fd2a704 pimappsupport/chinesecalendaralg/originaltsrc/TCCnMain.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/pimappsupport/chinesecalendaralg/originaltsrc/TCCnMain.cpp Fri Mar 12 15:42:35 2010 +0200 @@ -0,0 +1,44 @@ +// Copyright (c) 2003-2009 Nokia Corporation and/or its subsidiary(-ies). +// All rights reserved. +// This component and the accompanying materials are made available +// under the terms of "Eclipse Public License v1.0" +// which accompanies this distribution, and is available +// at the URL "http://www.eclipse.org/legal/epl-v10.html". +// +// Initial Contributors: +// Nokia Corporation - initial contribution. +// +// Contributors: +// +// Description: +// + +#include +#include "ConvertDates.h" + +// Type definitions +#define UNUSED_VAR(a) a = a + +void mainL(); + +GLDEF_C TInt E32Main() + { + __UHEAP_MARK; + CTrapCleanup* cleanupStack=CTrapCleanup::New(); + + TRAPD(error,mainL()); + UNUSED_VAR(error); //Used to supress build warnings + + delete cleanupStack; + __UHEAP_MARKEND; + return KErrNone; + } + +void mainL() + { + CConvertDates* ConvDates = CConvertDates::NewL(); + CleanupStack::PushL(ConvDates); + + ConvDates->ConvertL(); + CleanupStack::PopAndDestroy(); //delete ConvDates; + }