diff -r 09b1ac925e3f -r 03674e5abf46 pkiutilities/securitydialognotifiersrv/inc/securitydialognotifiersession.h --- a/pkiutilities/securitydialognotifiersrv/inc/securitydialognotifiersession.h Tue Aug 31 16:04:40 2010 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,61 +0,0 @@ -/* -* Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies). -* All rights reserved. -* This component and the accompanying materials are made available -* under the terms of "Eclipse Public License v1.0" -* which accompanies this distribution, and is available -* at the URL "http://www.eclipse.org/legal/epl-v10.html". -* -* Initial Contributors: -* Nokia Corporation - initial contribution. -* -* Contributors: -* -* Description: Security dialog notifier server session -* -*/ - -#ifndef SECURITYDIALOGNOTIFIERSESSION_H -#define SECURITYDIALOGNOTIFIERSESSION_H - -#include // CSession2 -#include "securitydialogoperationobserver.h" // MSecurityDialogOperationObserver - -class CSecurityDialogNotifierServer; -class CSecurityDialogOperation; - - -/** - * CSecurityDialogNotifierSession is the session object in security - * dialog notifier server (CSecurityDialogNotifierServer). - */ -NONSHARABLE_CLASS( CSecurityDialogNotifierSession ) : public CSession2, - public MSecurityDialogOperationObserver - { - public: // constructor and destructor - static CSecurityDialogNotifierSession* NewL(); - ~CSecurityDialogNotifierSession(); - - public: // from CSession2 - void CreateL(); - void ServiceL( const RMessage2& aMessage ); - - public: // from MSecurityDialogOperationObserver - void OperationComplete(); - - private: // new functions - CSecurityDialogNotifierSession(); - void ConstructL(); - CSecurityDialogNotifierServer& Server(); - void DispatchMessageL( const RMessage2& aMessage ); - TBool IsOperationCancelled( const RMessage2& aMessage ); - void ServerAuthenticationFailureL( const RMessage2& aMessage ); - void GetInputBufferL( const RMessage2& aMessage ); - - private: // data - HBufC8* iInputBuffer; - CSecurityDialogOperation* iOperationHandler; - }; - -#endif // SECURITYDIALOGNOTIFIERSESSION_H -