examples/Multimedia/ImageConv/src/CImageApp.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 // ImageApp.cpp
00015 //
00016 
00017 #include "CImageApp.h"
00018 #include "CImageDocument.h"
00019 #include <eikstart.h>
00020 
00021 const TUid KUidImageConv = { 0xE8000064 };
00022 
00023 TUid CImageApp::AppDllUid() const
00024         {
00025         return KUidImageConv;
00026         }
00027 
00028 CApaDocument* CImageApp::CreateDocumentL()
00029         {
00030         return new(ELeave) CImageDocument(*this);
00031         }
00032 
00033 //
00034 // Exported function
00035 //
00036 
00037 EXPORT_C CApaApplication* NewApplication()
00038         {
00039         return new CImageApp;
00040         }
00041 
00042 
00043 GLDEF_C TInt E32Main()
00044         {
00045         return EikStart::RunApplication(NewApplication);
00046         }

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