Nokia N97 SDK
Example Applications Guide

tactileexampleapplication.cpp

00001 /*
00002 * ============================================================================
00003 *  Name        : tactileexampleapplication.cpp
00004 *  Part of     : Tactile Example
00005 *  Interface   : N/A
00006 *  Description : Implementation of main application class
00007 *  Version     :
00008 *
00009 *  Copyright (c) 2008 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 "tactileexampledocument.h"
00018 #include "tactileexampleapplication.h"
00019 
00020 // ============================ MEMBER FUNCTIONS =============================
00021 
00022 // UID for the application;
00023 // this should correspond to the uid defined in the mmp file
00024 const TUid KUidTactileExampleApp = { 0xA0000282 };
00025 
00026 
00027 // ---------------------------------------------------------------------------
00028 // From class CApaApplication.
00029 // Returns application UID
00030 // ---------------------------------------------------------------------------
00031 //
00032 TUid CTactileExampleApplication::AppDllUid() const
00033     {
00034     // Return the UID for the TactileExample application
00035     return KUidTactileExampleApp;
00036     }
00037 
00038 
00039 // ---------------------------------------------------------------------------
00040 // From class CApaApplication.
00041 // Creates CApaDocument object
00042 // ---------------------------------------------------------------------------
00043 //
00044 CApaDocument* CTactileExampleApplication::CreateDocumentL()
00045     {
00046     // Create an TactileExample document, and return a pointer to it
00047     return new ( ELeave ) CTactileExampleDocument( *this );
00048     }
00049 // End of File

© Nokia 2009

Back to top