Nokia N97 SDK
Example Applications Guide

DynamicSettingListApplication.cpp

00001 /*
00002 * ============================================================================
00003 *  Name     : CDynamicSettingListApplication from DynamicSettingListApplication.cpp
00004 *  Part of  : Dynamic Setting List
00005 *  Created  : 09/21/2005 by Forum Nokia
00006 *  Version  : 1.0
00007 *
00008 *  Copyright (c) 2005 - 2007 Nokia Corporation.
00009 *  This material, including documentation and any related
00010 *  computer programs, is protected by copyright controlled by
00011 *  Nokia Corporation.
00012 * ============================================================================
00013 */
00014 
00015 // INCLUDE FILES
00016 #include "DynamicSettingListDocument.h"
00017 #include "DynamicSettingListApplication.h"
00018 
00019 // UID for the application, this should correspond to the uid defined in the mmp file
00020 static const TUid KUidDynamicSettingListApp = {0x0D6F698F};
00021 
00022 
00023 // ================= MEMBER FUNCTIONS =======================
00024 
00025 
00026 // ---------------------------------------------------------
00027 // CDynamicSettingListApplication::CreateDocumentL()
00028 // Creates CDynamicSettingListApplication object
00029 // ---------------------------------------------------------
00030 //
00031 CApaDocument* CDynamicSettingListApplication::CreateDocumentL()
00032     {  
00033     // Create an DynamicSettingList document, and return a pointer to it
00034     CApaDocument* document = CDynamicSettingListDocument::NewL(*this);
00035     return document;
00036     }
00037 
00038 // ---------------------------------------------------------
00039 // CDynamicSettingListApplication::AppDllUid()
00040 // Returns application UID
00041 // ---------------------------------------------------------
00042 //
00043 TUid CDynamicSettingListApplication::AppDllUid() const
00044     {
00045     // Return the UID for the DynamicSettingList application
00046     return KUidDynamicSettingListApp;
00047     }
00048 
00049 // End of file

© Nokia 2009

Back to top