Nokia N97 SDK
Example Applications Guide

styluspopupmenuexapp.cpp

00001 /**
00002  * Copyright (c) 2007 Nokia Corporation.
00003  * This material, including documentation and any related
00004  * computer programs, is protected by
00005  * copyright controlled by Nokia Corporation.
00006  */
00007 
00008 // INCLUDE FILES
00009 #include "styluspopupmenuexapp.h"
00010 #include "styluspopupmenuexdoc.h"
00011 
00012 
00013 // ============================ MEMBER FUNCTIONS ===============================
00014 
00015 // UID for the application;
00016 // this should correspond to the uid defined in the mmp file
00017 static const TUid KUidStylusPopupMenuExApp = {0xA0000284};
00018 
00019 // -----------------------------------------------------------------------------
00020 // CStylusPopupMenuExApp::CreateDocumentL()
00021 // Creates CApaDocument object
00022 // -----------------------------------------------------------------------------
00023 //
00024 CApaDocument* CStylusPopupMenuExApp::CreateDocumentL()
00025     {  
00026     // Create an StylusPopupMenuEx document, and return a pointer to it
00027     CApaDocument* document = CStylusPopupMenuExDoc::NewL( *this );
00028     return document;
00029     }
00030 
00031 // -----------------------------------------------------------------------------
00032 // CStylusPopupMenuExApp::AppDllUid()
00033 // Returns application UID
00034 // -----------------------------------------------------------------------------
00035 //
00036 TUid CStylusPopupMenuExApp::AppDllUid() const
00037     {
00038     // Return the UID for the StylusPopupMenuEx application
00039     return KUidStylusPopupMenuExApp;
00040     }
00041 

© Nokia 2009

Back to top