diff -r d1c62c765e48 -r cfea66083b62 phoneplugins/csplugin/src/tmshandler.cpp --- a/phoneplugins/csplugin/src/tmshandler.cpp Fri Sep 17 17:09:12 2010 +0300 +++ b/phoneplugins/csplugin/src/tmshandler.cpp Mon Oct 04 16:06:10 2010 +0300 @@ -18,6 +18,7 @@ #include #include #include +#include #include "tmshandler.h" #include "csplogger.h" #include "csppanic.pan" @@ -203,9 +204,9 @@ TInt TmsHandler::CreateTMSCallControl() { CSPLOGSTRING(CSPINT, "TmsHandler::CreateTMSCallControl"); - TMSVer* v = NULL; TInt status; - status = TMSFactory::CreateFactory(iFactory, *v); + TMSVer v(2,0,0); + status = TMSFactory::CreateFactory(iFactory, v); __ASSERT_ALWAYS(iFactory, Panic(ECSPPanicBadHandle)); @@ -350,9 +351,7 @@ } else if (event.type == TMS_EVENT_STREAM_STATE_CHANGE_ERROR) { -#ifndef __WINS__ Panic( ECSPPanicAudioStreamInitFailure ); -#endif } } else if (strmType == TMS_STREAM_DOWNLINK) @@ -363,9 +362,7 @@ } else if (event.type == TMS_EVENT_STREAM_STATE_CHANGE_ERROR) { -#ifndef __WINS__ Panic( ECSPPanicAudioStreamInitFailure ); -#endif } } }