phoneapp/phoneuicontrol/inc/cphoneuicontroller.h
branchRCL_3
changeset 6 38529f706030
parent 5 2a26698d78ba
child 9 91c2fb4b78df
--- a/phoneapp/phoneuicontrol/inc/cphoneuicontroller.h	Mon Mar 15 12:40:24 2010 +0200
+++ b/phoneapp/phoneuicontrol/inc/cphoneuicontroller.h	Wed Mar 31 21:30:06 2010 +0300
@@ -39,6 +39,8 @@
 class CPEPhoneModel;
 class CPhoneRemoteControlHandler;
 class CPhoneKeyEventForwarder;
+class CPhoneSecurityModeObserver;
+class CPhoneViewController;
 
 class CPhoneUIController : 
     public CBase, 
@@ -52,8 +54,7 @@
         /**
         * Two-phased constructor.
         */
-        IMPORT_C static CPhoneUIController* NewL( 
-            MPhoneViewCommandHandle* aViewCommandHandle );
+        IMPORT_C static CPhoneUIController* NewL( CPhoneViewController& aViewCommandHandle );
         
         /**
         * Destructor.
@@ -158,7 +159,6 @@
         */
         IMPORT_C TBool ProcessCommandL( TInt aCommand );
 
-        
     private:
         
         /**
@@ -169,12 +169,12 @@
         /**
         * By default EPOC constructor is private.
         */
-        void ConstructL( MPhoneViewCommandHandle* aViewCommandHandle );
+        void ConstructL( CPhoneViewController& aController );
         
         /**
         * Creates correct protocol DLL depending of the variation.
         */
-        void CreateProtocolDllL( MPhoneViewCommandHandle* aViewCommandHandle );
+        void CreateProtocolDllL( CPhoneViewController& aController );
         /**
         * CallBack for Phone Number Editor
         */
@@ -231,7 +231,13 @@
         * iKeyEventForwarder
         */
         CPhoneKeyEventForwarder* iKeyEventForwarder;
-        
+
+		/**
+		 * Security mode observer.
+		 * Own.
+		 */
+		CPhoneSecurityModeObserver* iSecurityModeObserver;
+		
     };
 
 #endif      // CPHONEUICONTROLLER_H