Nokia N97 SDK
Example Applications Guide

tactileexampledocument.cpp

00001 /*
00002 * ============================================================================
00003 *  Name        : tactileexampledocument.cpp
00004 *  Part of     : Tactile Example
00005 *  Interface   : N/A
00006 *  Description : Implementation of application document 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 "tactileexampleappui.h"
00018 #include "tactileexampledocument.h"
00019 
00020 // ============================ MEMBER FUNCTIONS =============================
00021 
00022 
00023 // ---------------------------------------------------------------------------
00024 // C++ default constructor can NOT contain any code, that might leave.
00025 // ---------------------------------------------------------------------------
00026 //
00027 CTactileExampleDocument::CTactileExampleDocument( CEikApplication& aApp )
00028     : CAknDocument( aApp )
00029     {
00030     // No implementation required
00031     }
00032 
00033 
00034 // ---------------------------------------------------------------------------
00035 // Destructor.
00036 // ---------------------------------------------------------------------------
00037 //
00038 CTactileExampleDocument::~CTactileExampleDocument()
00039     {
00040     // No implementation required
00041     }
00042 
00043 
00044 // ---------------------------------------------------------------------------
00045 // From class CEikDocument.
00046 // Constructs CreateAppUi.
00047 // ---------------------------------------------------------------------------
00048 //
00049 CEikAppUi* CTactileExampleDocument::CreateAppUiL()
00050     {
00051     // Create the application user interface, and return a pointer to it;
00052     // the framework takes ownership of this object
00053     return  new ( ELeave ) CTactileExampleAppUi;
00054     }
00055 // End of File
00056 

© Nokia 2009

Back to top