Nokia N97 SDK
Example Applications Guide

animation.cpp

00001 /*
00002 * ==============================================================================
00003 *  Name        : animation.cpp
00004 *  Part of     : Animation example
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 // INCLUDE FILES
00017 #include "Animation.hrh"
00018 #include "AnimationDocument.h"
00019 #include "AnimationApplication.h"
00020 #include <eikstart.h>
00021 
00022 
00023 // ================= OTHER EXPORTED FUNCTIONS =================================
00024 
00025 // ----------------------------------------------------------------------------
00026 // CApaApplication* NewApplication()
00027 // Constructs CAnimationApplication.
00028 // Returns: CApaDocument*: created application object
00029 // ----------------------------------------------------------------------------
00030 //
00031 EXPORT_C CApaApplication* NewApplication()
00032     {
00033     return new CAnimationApplication;
00034     }
00035 
00036 // ----------------------------------------------------------------------------
00037 // TInt E32Main()
00038 // Entry point function for EPOC Apps.
00039 // Returns: TInt:   Error if starting the app through framework wasn't succesful
00040 // ----------------------------------------------------------------------------
00041 //
00042 GLDEF_C TInt E32Main()
00043     {
00044     return EikStart::RunApplication( NewApplication );
00045     }
00046 
00047 // End of File

© Nokia 2009

Back to top