phoneapp/phoneuicontrol/inc/cphonestatemachine.h
branchRCL_3
changeset 15 2a26698d78ba
parent 0 5f000ab63145
child 17 38529f706030
equal deleted inserted replaced
14:24062c24fe38 15:2a26698d78ba
    28 #include "mphonestate.h"
    28 #include "mphonestate.h"
    29 #include "mphoneviewcommandhandle.h"
    29 #include "mphoneviewcommandhandle.h"
    30 
    30 
    31 // FORWARD DECLARATIONS
    31 // FORWARD DECLARATIONS
    32 class MPhoneState;
    32 class MPhoneState;
    33 class MPhoneStorage;
       
    34 
    33 
    35 // CLASS DECLARATION
    34 // CLASS DECLARATION
    36 
    35 
    37 /**
    36 /**
    38 *  Class for handling states and their transitions
    37 *  Class for handling states and their transitions
    99         * Set callId to phoneEngineinfo
    98         * Set callId to phoneEngineinfo
   100         * @param aCallId
    99         * @param aCallId
   101         */    
   100         */    
   102         IMPORT_C void SetCallId( const TInt aCallId );
   101         IMPORT_C void SetCallId( const TInt aCallId );
   103 
   102 
   104        
       
   105         /**
       
   106         * Instantiates phone storage.
       
   107         * @return storage instance    
       
   108         */    
       
   109         IMPORT_C MPhoneStorage* PhoneStorage();        
       
   110 
       
   111     protected:
   103     protected:
   112 
   104 
   113         /**
   105         /**
   114         * By default EPOC constructor is private.
   106         * By default EPOC constructor is private.
   115         */
   107         */
   143         */
   135         */
   144         MPEPhoneModel* iPhoneEngine;
   136         MPEPhoneModel* iPhoneEngine;
   145 
   137 
   146         // Idle state which is hold in memory all the time
   138         // Idle state which is hold in memory all the time
   147         MPhoneState* iIdleState;
   139         MPhoneState* iIdleState;
   148 
       
   149         // Phone's storage
       
   150         MPhoneStorage* iPhoneStorage;
       
   151     };
   140     };
   152 
   141 
   153 #endif      // CPHONESTATEMACHINE_H
   142 #endif      // CPHONESTATEMACHINE_H
   154             
   143             
   155 // End of File
   144 // End of File