phoneapp/phoneuicontrol/inc/cphonestatemachine.h
changeset 77 2be0b271d017
parent 0 5f000ab63145
--- a/phoneapp/phoneuicontrol/inc/cphonestatemachine.h	Fri Sep 17 08:29:19 2010 +0300
+++ b/phoneapp/phoneuicontrol/inc/cphonestatemachine.h	Mon Oct 04 00:16:48 2010 +0300
@@ -106,7 +106,13 @@
         * Instantiates phone storage.
         * @return storage instance    
         */    
-        IMPORT_C MPhoneStorage* PhoneStorage();        
+        IMPORT_C MPhoneStorage* PhoneStorage();
+        
+        /**
+       * Getter for CEikonEnv to avoid use of static system calls
+       * @return CEikonEnv handle
+       */
+       IMPORT_C CEikonEnv* EikonEnv() const;
 
     protected:
 
@@ -148,6 +154,11 @@
 
         // Phone's storage
         MPhoneStorage* iPhoneStorage;
+        
+        /** Internal variable for EikonEnv to avoid use of static system calls
+        * Not own.
+        */
+        CEikonEnv* iEnv;
     };
 
 #endif      // CPHONESTATEMACHINE_H