diff -r 8e7494275d3a -r 4f0867e42d62 omads/omadsappui/ui/src/NSmlDSSyncApp.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/omads/omadsappui/ui/src/NSmlDSSyncApp.cpp Wed Sep 01 12:30:02 2010 +0100 @@ -0,0 +1,80 @@ +/* +* Copyright (c) 2002-2005 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 FILES +#include "NSmlDSSyncApp.h" +#include "NSmlDSSyncDocument.h" +#include "AspDebug.h" + + +// ============================ MEMBER FUNCTIONS =============================== + + + +// ----------------------------------------------------------------------------- +// CNSmlDSSyncApp::AppDllUid +// +// Returns application UID. +// ----------------------------------------------------------------------------- +// +TUid CNSmlDSSyncApp::AppDllUid() const + { + FLOG( _L("CNSmlDSSyncApp::AppDllUid") ); + + return KUidSmlSyncApp; + } + + +// ----------------------------------------------------------------------------- +// CNSmlDSSyncApp::CreateDocumentL +// +// Creates CAIWTestAppDocument object. +// ----------------------------------------------------------------------------- +// +CApaDocument* CNSmlDSSyncApp::CreateDocumentL() + { + FLOG( _L("CNSmlDSSyncApp::CreateDocumentL") ); + + return CNSmlDSSyncDocument::NewL( *this ); + } + + + + +// ======================== OTHER EXPORTED FUNCTIONS =========================== + + + +#include + +LOCAL_C CApaApplication* NewApplication() + { + return new CNSmlDSSyncApp; + } + +GLDEF_C TInt E32Main() + { + return EikStart::RunApplication(NewApplication); + } + + + + +// End of File +