diff -r 84d9eb65b26f -r e4592d119491 messagingapp/shareui/tsrc/testshareui/src/main.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/messagingapp/shareui/tsrc/testshareui/src/main.cpp Fri May 14 15:49:35 2010 +0300 @@ -0,0 +1,38 @@ +/* +* Copyright (c) 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: Offers message creation and sending services. + * +*/ + +#include +#include +#include "testshareuimainwindow.h" + +int main(int argc, char *argv[]) +{ + // Application + HbApplication app(argc, argv); + + TestShareUiMainWindow* mainWin = new TestShareUiMainWindow(); + mainWin->init(); + mainWin->show(); + // Event loop + int error = app.exec(); + + // delete main window and return error + delete mainWin; + return error; +} + +// End of file