diff -r 6369bfd1b60d -r 08b5eae9f9ff homesync/contentmanager/mediaservant/src/msapp.cpp --- a/homesync/contentmanager/mediaservant/src/msapp.cpp Mon Nov 01 13:44:24 2010 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,77 +0,0 @@ -/* -* Copyright (c) 2007 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: CMediaServantApp class implementation -* -*/ - - -#include -#include "msdebug.h" -#include "msapp.h" -#include "msdocument.h" -#include "msconstants.h" - - -// ======== MEMBER FUNCTIONS ======== - -// --------------------------------------------------------- -// CMediaServantApp::CreateDocumentL() -// --------------------------------------------------------- -// -CApaDocument* CMediaServantApp::CreateDocumentL() - { - LOG(_L("[MediaServant]\t CMediaServantApp::CreateDocumentL")); - - return CMSDocument::NewL( *this ); - } - -// --------------------------------------------------------- -// CMediaServantApp::AppDllUid() -// --------------------------------------------------------- -// -TUid CMediaServantApp::AppDllUid() const - { - LOG(_L("[MediaServant]\t CMediaServantApp::AppDllUid")); - - return KUidMediaServant; - } - - -// ================= OTHER EXPORTED FUNCTIONS ============== - -// --------------------------------------------------------- -// NewApplication() -// --------------------------------------------------------- -// -LOCAL_C CApaApplication* NewApplication() - { - LOG(_L("[MediaServant]\t CApaApplication* NewApplication")); - - return new CMediaServantApp; - } - -// --------------------------------------------------------------------------- -// Starts application -// --------------------------------------------------------------------------- -// -GLDEF_C TInt E32Main() - { - LOG(_L("[MediaServant]\t E32Main")); - - return EikStart::RunApplication( NewApplication ); - } - - -// End of File -