|
Nokia N97 SDK Example Applications Guide |
00001 /* 00002 * ============================================================================== 00003 * Name : graphicsapplication.cpp 00004 * Part of : Graphics 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 "GraphicsDocument.h" 00018 #include "GraphicsApplication.h" 00019 00020 // ============================ MEMBER FUNCTIONS =============================== 00021 00022 // ----------------------------------------------------------------------------- 00023 // CGraphicsApplication::CreateDocumentL() 00024 // Creates CApaDocument object and returns a pointer to it 00025 // ----------------------------------------------------------------------------- 00026 // 00027 CApaDocument* CGraphicsApplication::CreateDocumentL() 00028 { 00029 //return ( static_cast<CApaDocument*> ( CGraphicsDocument::NewL( *this ) ) ); 00030 return CGraphicsDocument::NewL( *this ); 00031 } 00032 00033 // ----------------------------------------------------------------------------- 00034 // CGraphicsApplication::AppDllUid() 00035 // Returns the UID for the FocusEvent application 00036 // ----------------------------------------------------------------------------- 00037 // 00038 TUid CGraphicsApplication::AppDllUid() const 00039 { 00040 return KUidGraphicsApp; 00041 } 00042 00043 // End of File
|
© Nokia 2009 |