diff -r 000000000000 -r 62f9d29f7211 webservices/wsidentitymanager/inc/sensecuritymechanismobserver.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/webservices/wsidentitymanager/inc/sensecuritymechanismobserver.h Thu Jan 07 16:19:19 2010 +0200 @@ -0,0 +1,84 @@ +/* +* Copyright (c) 2002-2005 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: Header declaration +* +*/ + + + + + + + + +#ifndef SEN_SECURITY_MECHANISMOBSERVER_H +#define SEN_SECURITY_MECHANISMOBSERVER_H + +// INCLUDES +#include +#include + +// CONSTANTS + +// FORWARD DECLARATIONS +class CSenBaseIdentityManager; +class RFileLogger; + +// CLASS DECLARATION +class CSenSenSecurityMechanismObserver : public CActive +{ + public: // Constructors and destructor + + static CSenSenSecurityMechanismObserver* NewL( + CSenBaseIdentityManager& aOwner); + static CSenSenSecurityMechanismObserver* NewLC( + CSenBaseIdentityManager& aOwner); + + virtual ~CSenSenSecurityMechanismObserver(); + + // New functions + + void Start(); + + // Functions from base classes + + virtual void RunL(); + virtual TInt RunError(TInt aError); + + protected: // New functions + + virtual void DoCancel(); + + private: + + /** + * C++ default constructor. + */ + CSenSenSecurityMechanismObserver(CSenBaseIdentityManager& aOwner); + + /** + * By default Symbian 2nd phase constructor is private. + */ + void ConstructL(); + + RFileLogger* Log(); + + private: // Data + CSenBaseIdentityManager& iOwner; + REComSession iEcomSession; + }; + +#endif // SEN_SECURITY_MECHANISMOBSERVER_H + +// End of File