webservices/wsidentitymanager/inc/sensecuritymechanismobserver.h
changeset 0 62f9d29f7211
equal deleted inserted replaced
-1:000000000000 0:62f9d29f7211
       
     1 /*
       
     2 * Copyright (c) 2002-2005 Nokia Corporation and/or its subsidiary(-ies). 
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description: Header declaration
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 
       
    21 
       
    22 
       
    23 
       
    24 
       
    25 #ifndef SEN_SECURITY_MECHANISMOBSERVER_H
       
    26 #define SEN_SECURITY_MECHANISMOBSERVER_H
       
    27 
       
    28 //  INCLUDES
       
    29 #include <e32base.h>
       
    30 #include <ecom.h>
       
    31 
       
    32 // CONSTANTS
       
    33 
       
    34 // FORWARD DECLARATIONS
       
    35 class CSenBaseIdentityManager;
       
    36 class RFileLogger;
       
    37 
       
    38 // CLASS DECLARATION
       
    39 class CSenSenSecurityMechanismObserver :    public CActive
       
    40 {
       
    41     public: // Constructors and destructor
       
    42     
       
    43         static CSenSenSecurityMechanismObserver* NewL(
       
    44                                             CSenBaseIdentityManager& aOwner);
       
    45         static CSenSenSecurityMechanismObserver* NewLC(
       
    46                                             CSenBaseIdentityManager& aOwner);
       
    47 
       
    48         virtual ~CSenSenSecurityMechanismObserver();
       
    49 
       
    50         // New functions
       
    51         
       
    52         void Start();
       
    53  
       
    54         // Functions from base classes
       
    55         
       
    56         virtual void RunL();
       
    57         virtual TInt RunError(TInt aError);
       
    58 
       
    59     protected: // New functions
       
    60         
       
    61         virtual void DoCancel();
       
    62 
       
    63     private:
       
    64         
       
    65         /**
       
    66         * C++ default constructor.
       
    67         */
       
    68         CSenSenSecurityMechanismObserver(CSenBaseIdentityManager& aOwner);
       
    69 
       
    70         /**
       
    71         * By default Symbian 2nd phase constructor is private.
       
    72         */
       
    73         void ConstructL();
       
    74 
       
    75         RFileLogger* Log();
       
    76 
       
    77     private: // Data
       
    78         CSenBaseIdentityManager& iOwner;
       
    79         REComSession iEcomSession;
       
    80     };
       
    81 
       
    82 #endif // SEN_SECURITY_MECHANISMOBSERVER_H
       
    83 
       
    84 // End of File