connectionutilities/ConnectionDialogs/cconndlg/clientsrc/GenConAgentDialogServer.cpp
--- a/connectionutilities/ConnectionDialogs/cconndlg/clientsrc/GenConAgentDialogServer.cpp Thu Aug 19 10:18:49 2010 +0300
+++ b/connectionutilities/ConnectionDialogs/cconndlg/clientsrc/GenConAgentDialogServer.cpp Tue Aug 31 15:35:44 2010 +0300
@@ -20,11 +20,14 @@
// INCLUDE FILES
#include "GenConAgentDialogServer.h"
#include "ConnectionDialogsUidDefs.h"
-#include "ActiveLogin.h"
#include "ConnectionDialogsLogger.h"
#include <agentdialog.h>
+// NOTE that the functionality this file is DEPRECATED
+// None on the methods have UI functionality, the plugins complete the requests
+// immediately when they are started
+
// ---------------------------------------------------------
// ThreadFunction
@@ -223,31 +226,20 @@
{
CLOG_ENTERFN( "RGenConAgentDialogServer::Authenticate" );
- CActiveLogin* activeLogin = NULL;
-
- TRAPD( err, activeLogin = CActiveLogin::NewL( aUsername, aPassword ) );
-
- iNotUsed() = ( TUint32 )activeLogin;
+ // To get rid of compile warnings;
+ aPassword = aPassword;
+ aUsername = aUsername;
- if ( err != KErrNone )
- {
- TRequestStatus* pS = &aStatus;
- User::RequestComplete( pS, err );
- }
- else
+
+ // temporaty variable to get the notifier started
+ TPckgBuf<TUint32> notUsed;
+
+ if ( iNotifier )
{
- activeLogin->Observe( aStatus );
-
- TPckgBuf<TAuthenticationPairBuff>* authenticationPairBuff =
- activeLogin->GetBuffer();
-
- if ( iNotifier )
- {
- iNotifier->StartNotifierAndGetResponse( activeLogin->iStatus,
- KUidCConnDlgAuthentication,
- *authenticationPairBuff,
- *authenticationPairBuff );
- }
+ iNotifier->StartNotifierAndGetResponse( aStatus,
+ KUidCConnDlgAuthentication,
+ notUsed,
+ notUsed );
}
CLOG_LEAVEFN( "RGenConAgentDialogServer::Authenticate" );
@@ -439,11 +431,6 @@
iNotifier->CancelNotifier( KUidCConnDlgAuthentication );
}
- CActiveLogin* activeLogin = ( CActiveLogin* )iNotUsed();
-
- activeLogin->Cancel();
- delete activeLogin;
-
CLOG_LEAVEFN( "RGenConAgentDialogServer::CancelAuthenticate" );
}