S60 3rd Edition SDK for Symbian OS
Example Applications Guide

LensFlareApp.cpp

00001 /*
00002 * ==============================================================================
00003 *  Name        : LensFlareApp.cpp
00004 *  Part of     : OpenGLEx / LensFlare
00005 *  Interface   : 
00006 *  Description : 
00007 *  Version     : 
00008 *
00009 *  Copyright (c) 2004-2006 Nokia Corporation.
00010 *  This material, including documentation and any related 
00011 *  computer programs, is protected by copyright controlled by 
00012 *  Nokia Corporation.
00013 * ==============================================================================
00014 */
00015 
00016 
00017 // INCLUDE FILES
00018 #include    <eikstart.h>
00019 #include    "LensFlareApp.h"
00020 #include    "LensFlareDocument.h"
00021 
00022 // ================= MEMBER FUNCTIONS =======================
00023 
00024 // ---------------------------------------------------------
00025 // CLensFlareApp::AppDllUid()
00026 // Returns application UID
00027 // ---------------------------------------------------------
00028 //
00029 TUid CLensFlareApp::AppDllUid() const
00030     {
00031     return KUidLensFlare;
00032     }
00033 
00034    
00035 // ---------------------------------------------------------
00036 // CLensFlareApp::CreateDocumentL()
00037 // Creates CLensFlareDocument object
00038 // ---------------------------------------------------------
00039 //
00040 CApaDocument* CLensFlareApp::CreateDocumentL()
00041     {
00042     return CLensFlareDocument::NewL( *this );
00043     }
00044 
00045 // ================= OTHER EXPORTED FUNCTIONS ==============
00046 
00047 CApaApplication* NewApplication()
00048     {
00049     return new CLensFlareApp;
00050     }
00051 
00052 TInt E32Main()
00053     {
00054         return EikStart::RunApplication(NewApplication);
00055     }
00056 
00057 // End of File  
00058 

© Nokia 2006

Back to top