phoneapp/phoneuicontrol/inc/cphonestatemachine.h
changeset 77 2be0b271d017
parent 0 5f000ab63145
equal deleted inserted replaced
72:c76a0b1755b9 77:2be0b271d017
   104        
   104        
   105         /**
   105         /**
   106         * Instantiates phone storage.
   106         * Instantiates phone storage.
   107         * @return storage instance    
   107         * @return storage instance    
   108         */    
   108         */    
   109         IMPORT_C MPhoneStorage* PhoneStorage();        
   109         IMPORT_C MPhoneStorage* PhoneStorage();
       
   110         
       
   111         /**
       
   112        * Getter for CEikonEnv to avoid use of static system calls
       
   113        * @return CEikonEnv handle
       
   114        */
       
   115        IMPORT_C CEikonEnv* EikonEnv() const;
   110 
   116 
   111     protected:
   117     protected:
   112 
   118 
   113         /**
   119         /**
   114         * By default EPOC constructor is private.
   120         * By default EPOC constructor is private.
   146         // Idle state which is hold in memory all the time
   152         // Idle state which is hold in memory all the time
   147         MPhoneState* iIdleState;
   153         MPhoneState* iIdleState;
   148 
   154 
   149         // Phone's storage
   155         // Phone's storage
   150         MPhoneStorage* iPhoneStorage;
   156         MPhoneStorage* iPhoneStorage;
       
   157         
       
   158         /** Internal variable for EikonEnv to avoid use of static system calls
       
   159         * Not own.
       
   160         */
       
   161         CEikonEnv* iEnv;
   151     };
   162     };
   152 
   163 
   153 #endif      // CPHONESTATEMACHINE_H
   164 #endif      // CPHONESTATEMACHINE_H
   154             
   165             
   155 // End of File
   166 // End of File