diff -r 24062c24fe38 -r 2a26698d78ba phoneapp/phoneuicontrol/src/cphonestatemachine.cpp --- a/phoneapp/phoneuicontrol/src/cphonestatemachine.cpp Fri Mar 12 15:42:40 2010 +0200 +++ b/phoneapp/phoneuicontrol/src/cphonestatemachine.cpp Mon Mar 15 12:40:24 2010 +0200 @@ -29,8 +29,6 @@ #include "cphonestateincall.h" #include "phonestatedefinitions.h" #include "phonelogger.h" -#include "cphonestorage.h" -#include "mphonestorage.h" // ================= MEMBER FUNCTIONS ======================= @@ -79,11 +77,6 @@ delete iPhoneEngine; iPhoneEngine = NULL; } - if( iPhoneStorage ) - { - delete iPhoneStorage; - iPhoneStorage = NULL; - } } // --------------------------------------------------------- @@ -183,19 +176,4 @@ PhoneEngineInfo()->SetCallId( aCallId ); } -// ----------------------------------------------------------- -// CPhoneStateMachine::PhoneStorage -// ----------------------------------------------------------- -// -EXPORT_C MPhoneStorage* CPhoneStateMachine::PhoneStorage() - { - if ( iPhoneStorage == NULL ) - { - TInt err( KErrNone ); - TRAP( err, iPhoneStorage = CPhoneStorage::NewL()); - __ASSERT_ALWAYS( KErrNone == err, User::Invariant() ); - } - return iPhoneStorage; - } - // End of File