diff -r 89d6a7a84779 -r 25a17d01db0c Symbian3/PDK/Source/GUID-AC6FCBB0-E4FD-4D30-B000-1F652B2EE96A.dita --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Symbian3/PDK/Source/GUID-AC6FCBB0-E4FD-4D30-B000-1F652B2EE96A.dita Fri Jan 22 18:26:19 2010 +0000 @@ -0,0 +1,47 @@ + + + + + +Create +an instance of CCoeAppUi +

Create a CCoeAppUi object using the ConstructL(CCoeAppUi +*). This creates the CCoeAppUi object and the application's +control stack, and starts a session with the View Server. /** +Construct a control +*/ +class CAppUiNewControl : public CCoeControl + { + public: + CAppUiNewControl(); + void ConstructL(); + ~CAppUiNewControl(); + private: + CAppUiNewControl* iControl; + }; +class CMCoeViewActivationObserver : public MCoeViewActivationObserver { + public: + void ConstructL(); + // from MCoeViewActivationObserver + void NotifyNextActivation( TVwsViewId& aViewId, + MCoeViewActivationObserver& aViewActivationObserver ); + CMCoeViewActivationObserver* NewL(); + private: + CCoeAppUi* iCCoeAppUi; + } +/** +Create a session +*/ +CNewAppUi::ConstructL() + { + CCoeAppUi::ConstructL( iCCoeAppUi ); + iControl=new( ELeave ) CAppUiNewControl(); + iControl->ConstructL(); + }

+
\ No newline at end of file