# HG changeset patch # User Dremov Kirill (Nokia-D-MSW/Tampere) # Date 1286139941 -10800 # Node ID 1bd987fa8cca7f75040b114ad41eaaf3a5171400 # Parent d70405a2733614a6959d4a263867466f0de40433 Revision: 201037 Kit: 201039 diff -r d70405a27336 -r 1bd987fa8cca nettools/conntest/group/ConnTest.mmp --- a/nettools/conntest/group/ConnTest.mmp Thu Sep 02 20:15:04 2010 +0300 +++ b/nettools/conntest/group/ConnTest.mmp Mon Oct 04 00:05:41 2010 +0300 @@ -96,7 +96,6 @@ LIBRARY insock.lib LIBRARY esock.lib LIBRARY ws32.lib -LIBRARY sendui.lib LIBRARY cmmanager.lib LIBRARY netmeta.lib LIBRARY extendedconnpref.lib diff -r d70405a27336 -r 1bd987fa8cca nettools/conntest/inc/ConnTestAppUi.h --- a/nettools/conntest/inc/ConnTestAppUi.h Thu Sep 02 20:15:04 2010 +0300 +++ b/nettools/conntest/inc/ConnTestAppUi.h Mon Oct 04 00:05:41 2010 +0300 @@ -34,7 +34,6 @@ class CConnTestView; class CAknWarningNote; class CIpdumpEngine; -class CSendUi; class CSettingData; class CCustomPrefsData; @@ -139,7 +138,6 @@ TFixedArray& iCustomPrefsDataArray; CAknWarningNote* iWarningDialog; // notice, currently used: ->ExecuteLD, so deleted automatically CIpdumpEngine* iIpdumpEngine; // Only 1 dump engine/app, thus appui owns it - CSendUi* iSendUi; // For sending the log }; #endif diff -r d70405a27336 -r 1bd987fa8cca nettools/conntest/src/ConnTestAppUi.cpp --- a/nettools/conntest/src/ConnTestAppUi.cpp Thu Sep 02 20:15:04 2010 +0300 +++ b/nettools/conntest/src/ConnTestAppUi.cpp Mon Oct 04 00:05:41 2010 +0300 @@ -22,7 +22,6 @@ #include #include #include -#include #include "ConnTestAppUi.h" #include "ConnTestView.h" @@ -114,7 +113,6 @@ } delete iDecoratedTabGroup; iConnTestViews.Reset(); - delete iSendUi; // currently used with ->ExecuteLD, so deleted automatically elsewhere // delete iWarningDialog; } @@ -281,34 +279,7 @@ // void CConnTestAppUi::SendLogFileL() { - if(!iIpdumpEngine) - { - iIpdumpEngine = CIpdumpEngine::NewL(); - } - if(!iSendUi) - { - iSendUi = CSendUi::NewL(); - } - CMessageData* messageData = CMessageData::NewL(); - CleanupStack::PushL(messageData); - - // - // Since CSendUi doesn't support sending .log or .cap files, - // the file is renamed here. - // - _LIT(KNewName, "c:\\logs\\tcpdump\\probe.cap.txt"); - RFs fs; - if (fs.Connect() == KErrNone) - { - fs.Replace(iIpdumpEngine->LogFileName(), KNewName); - } - fs.Close(); - - messageData->AppendAttachmentL(KNewName); - - TSendingCapabilities cap(0, 1024, TSendingCapabilities::ESupportsAttachments); - iSendUi->ShowQueryAndSendL(messageData, cap); - CleanupStack::PopAndDestroy(messageData); // messageData + // Empty implementation, CSendUi dependency removed } // ----------------------------------------------------