/* Machine-made version of this file copyright (c) 2005 Somusar */ /* Derived from samples that are Copyright (c) 2004, Nokia. All rights reserved */ #include #include "AknExFormAppUi.h" #include "AknExFormAppView.h" // ================= MEMBER FUNCTIONS ========================================= // ---------------------------------------------------------------------------- // CAknExFormAppUi::CAknExFormAppUi() // Default constructor. // ---------------------------------------------------------------------------- // CAknExFormAppUi::CAknExFormAppUi() { } // ---------------------------------------------------------------------------- // void CAknExFormAppUi::ConstructL() // Symbian constructor. // ---------------------------------------------------------------------------- // void CAknExFormAppUi::ConstructL() { BaseConstructL(); // Creates CAknExFormView class object. CAknExFormView* view = new ( ELeave ) CAknExFormView; CleanupStack::PushL( view ); view->ConstructL(); AddViewL( view ); // transfer ownership to CAknViewAppUi. CleanupStack::Pop(); // view ActivateLocalViewL( view->Id()); } // ---------------------------------------------------------------------------- // CAknExFormAppUi::~CAknExFormAppUi() // Destructor. // ---------------------------------------------------------------------------- // CAknExFormAppUi::~CAknExFormAppUi() { } // ---------------------------------------------------------------------------- // CAknExFormAppUi::HandleCommandL() // Handles the commands. // ---------------------------------------------------------------------------- // void CAknExFormAppUi::HandleCommandL( TInt aCommand ) { switch ( aCommand ) { case EAknSoftkeyBack: case EEikCmdExit: Exit(); break; default: break; } } // End of File