S60 3rd Edition SDK for Symbian OS
Example Applications Guide

HierarchyApp.cpp

00001 /*
00002 * ==============================================================================
00003 *  Name        : HierarchyApp.cpp
00004 *  Part of     : OpenGLEx / Hierarchy
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    "HierarchyApp.h"
00020 #include    "HierarchyDocument.h"
00021 
00022 // ================= MEMBER FUNCTIONS =======================
00023 
00024 // ---------------------------------------------------------
00025 // CHierarchyApp::AppDllUid()
00026 // Returns application UID
00027 // ---------------------------------------------------------
00028 //
00029 TUid CHierarchyApp::AppDllUid() const
00030     {
00031     return KUidHierarchy;
00032     }
00033 
00034    
00035 // ---------------------------------------------------------
00036 // CHierarchyApp::CreateDocumentL()
00037 // Creates CHierarchyDocument object
00038 // ---------------------------------------------------------
00039 //
00040 CApaDocument* CHierarchyApp::CreateDocumentL()
00041     {
00042     return CHierarchyDocument::NewL( *this );
00043     }
00044 
00045 // ================= OTHER EXPORTED FUNCTIONS ==============
00046 CApaApplication* NewApplication()
00047     {
00048     return new CHierarchyApp;
00049     }
00050 
00051 TInt E32Main()
00052     {
00053         return EikStart::RunApplication(NewApplication);
00054     }
00055 
00056 // End of File  
00057 

© Nokia 2006

Back to top