phoneapp/phoneuicontrol/inc/mphonestatemachine.h
branchRCL_3
changeset 17 38529f706030
parent 15 2a26698d78ba
child 61 41a7f70b3818
--- a/phoneapp/phoneuicontrol/inc/mphonestatemachine.h	Mon Mar 15 12:40:24 2010 +0200
+++ b/phoneapp/phoneuicontrol/inc/mphonestatemachine.h	Wed Mar 31 21:30:06 2010 +0300
@@ -30,6 +30,8 @@
 class MPEPhoneModel;
 class MPEEngineInfo;
 class CSpdiaControl;
+class MPhoneSecurityMessageHandler;
+class MPhoneSecurityModeObserver;
 
 /**
 *  Describes the interface for setting and getting active state
@@ -85,7 +87,47 @@
         * @param aCallId
         */    
         virtual void SetCallId( TInt aCallId ) = 0;
+    
+        /**
+         * Getter for security mode observer interface.
+         * 
+         * @return Pointer to security mode interface.
+         */
+        virtual MPhoneSecurityModeObserver* SecurityMode() = 0;
         
+		/**
+		 * Sets security mode observer. Doesn't transfer ownership.
+		 *
+		 * @param aObserver Pointer to observer instance.
+		 */
+		virtual void SetSecurityModeObserver( MPhoneSecurityModeObserver* aObserver ) = 0;
+		
+		/**
+		 * Set security message handler for security message observations.
+		 * 
+		 * @param aHandler Pointer to handler instance. 
+		 */
+		virtual void SetSecurityMessageHandler( MPhoneSecurityMessageHandler* aHandler ) = 0;
+		
+        /**
+         * Handle phone engine message.
+         * 
+         * @param aMessage Message
+         * @param aCallId Call id
+         */
+        virtual void HandlePhoneEngineMessageL(const TInt aMessage, 
+        	TInt aCallId ) = 0;
+        
+        /**
+         * This function is called when there is property value change.
+         * @param aCategory Category of the property
+         * @param aKey Property key that is changed
+         * @param aValue New property value
+         */
+        virtual void HandlePropertyChangedL(const TUid& aCategory,
+        	const TUint aKey,
+        	const TInt aValue ) = 0;
+
     };
 
 #endif // MPHONESTATEMACHINE_H