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