S60 3rd Edition SDK for Symbian OS
Example Applications Guide

CHelloWorldBasicApplication Class Reference

#include <helloworldbasicapplication.h>

List of all members.

Public Member Functions

TUid AppDllUid () const

Protected Member Functions

CApaDocument * CreateDocumentL ()


Detailed Description

CHelloWorldBasicApplication application class. Provides factory to create concrete document object. An instance of CHelloWorldBasicApplication is the application part of the AVKON application framework for the HelloWorldBasic example application.

Definition at line 30 of file helloworldbasicapplication.h.


Member Function Documentation

TUid CHelloWorldBasicApplication::AppDllUid  )  const
 

From CApaApplication, AppDllUid.

Returns:
Application's UID (KUidHelloWorldBasicApp).

Definition at line 43 of file helloworldbasicapplication.cpp.

00044     {
00045     // Return the UID for the HelloWorldBasic application
00046     return KUidHelloWorldBasicApp;
00047     }

CApaDocument * CHelloWorldBasicApplication::CreateDocumentL  )  [protected]
 

From CApaApplication, CreateDocumentL. Creates CHelloWorldBasicDocument document object. The returned pointer in not owned by the CHelloWorldBasicApplication object.

Returns:
A pointer to the created document object.

Definition at line 31 of file helloworldbasicapplication.cpp.

References CHelloWorldBasicDocument::NewL().

00032     {
00033     // Create an HelloWorldBasic document, and return a pointer to it
00034     return (static_cast<CApaDocument*>
00035                     ( CHelloWorldBasicDocument::NewL( *this ) ) );
00036     }


© Nokia 2006

Back to top