--- a/phoneapp/phoneuicontrol/inc/cphonestatemachine.h Fri Sep 03 13:33:36 2010 +0300
+++ b/phoneapp/phoneuicontrol/inc/cphonestatemachine.h Fri Sep 17 17:09:12 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