examples/Multimedia/AudioClientEx/CMediaClientApplication.cpp

00001 // Copyright (c) 2001-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 "CMediaClientApplication.h"
00017 #include "CMediaClientDocument.h"
00018 #include <eikstart.h>
00019 
00022 const TUid KUidMediaClientApp = { 0xE8000062 };
00023 
00024 
00025 TUid CMediaClientApplication::AppDllUid() const
00026     {
00027     return KUidMediaClientApp;
00028     }
00029 
00030 CApaDocument* CMediaClientApplication::CreateDocumentL()
00031     {
00032         //User::SetJustInTime(EFalse);
00033     return CMediaClientDocument::NewL(*this);
00034     }
00035 
00036 
00037 //
00038 // EXPORTed functions
00039 //
00040 // Globals the App architecture/OS use to access this application
00041 
00042 
00043 EXPORT_C CApaApplication* NewApplication()
00044     {
00045     return new CMediaClientApplication;
00046     }
00047 
00048 GLDEF_C TInt E32Main()
00049         {
00050         return EikStart::RunApplication(NewApplication);
00051         }

Generated on Thu Jan 21 10:32:59 2010 for TB10.1 Example Applications by  doxygen 1.5.3