diff -r f345bda72bc4 -r 43e37759235e Symbian3/Examples/guid-6013a680-57f9-415b-8851-c4fa63356636/helloworldbasicapplication_8cpp_source.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Symbian3/Examples/guid-6013a680-57f9-415b-8851-c4fa63356636/helloworldbasicapplication_8cpp_source.html Tue Mar 30 16:16:55 2010 +0100 @@ -0,0 +1,66 @@ + + +
+ +00001 /* +00002 * ============================================================================== +00003 * Name : helloworldbasicapplication.cpp +00004 * Part of : Helloworldbasic +00005 * Interface : +00006 * Description : +00007 * Version : +00008 * +00009 * Copyright (c) 2005-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 "HelloWorldBasicDocument.h" +00018 #include "HelloWorldBasicApplication.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 KUidHelloWorldBasicApp = { 0xA000017F }; +00025 +00026 // ----------------------------------------------------------------------------- +00027 // CHelloWorldBasicApplication::CreateDocumentL() +00028 // Creates CApaDocument object +00029 // ----------------------------------------------------------------------------- +00030 // +00031 CApaDocument* CHelloWorldBasicApplication::CreateDocumentL() +00032 { +00033 // Create an HelloWorldBasic document, and return a pointer to it +00034 return (static_cast<CApaDocument*> +00035 ( CHelloWorldBasicDocument::NewL( *this ) ) ); +00036 } +00037 +00038 // ----------------------------------------------------------------------------- +00039 // CHelloWorldBasicApplication::AppDllUid() +00040 // Returns application UID +00041 // ----------------------------------------------------------------------------- +00042 // +00043 TUid CHelloWorldBasicApplication::AppDllUid() const +00044 { +00045 // Return the UID for the HelloWorldBasic application +00046 return KUidHelloWorldBasicApp; +00047 } +00048 +00049 // End of File +00050 +