bearermanagement/mpm/inc/mpmcsidwatcher.h
changeset 71 9f263f780e41
parent 20 9c97ad6591ae
equal deleted inserted replaced
70:ac5daea24fb0 71:9f263f780e41
     1 /*
     1 /*
     2 * Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies). 
     2 * Copyright (c) 2008-2010 Nokia Corporation and/or its subsidiary(-ies).
     3 * All rights reserved.
     3 * All rights reserved.
     4 * This component and the accompanying materials are made available
     4 * This component and the accompanying materials are made available
     5 * under the terms of "Eclipse Public License v1.0"
     5 * under the terms of "Eclipse Public License v1.0"
     6 * which accompanies this distribution, and is available
     6 * which accompanies this distribution, and is available
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
    37 public:
    37 public:
    38 
    38 
    39     static CMpmCsIdWatcher* NewL();
    39     static CMpmCsIdWatcher* NewL();
    40 
    40 
    41     /**
    41     /**
    42     * Destructor.
    42      * Destructor.
    43     */
    43      */
    44     virtual ~CMpmCsIdWatcher();
    44     virtual ~CMpmCsIdWatcher();
    45 
    45 
    46     /**
    46     /**
    47      * Call this when you want to start listen event.
    47      * Call this when you want to start listen event.
    48      * @since 5.1
    48      * @since 5.1
    54      * @since 5.1
    54      * @since 5.1
    55 	 * @return Connect screen id
    55 	 * @return Connect screen id
    56      */
    56      */
    57     TUint32 ConnectScreenId() const;
    57     TUint32 ConnectScreenId() const;
    58     
    58     
    59 // from base class CActive
    59 protected: // from base class CActive
    60 
    60 
       
    61     /**
       
    62      * Active object's RunL.
       
    63      */
    61     void RunL();
    64     void RunL();
    62 
    65 
       
    66     /**
       
    67      * Handles a leave occurring in RunL.
       
    68      * @param aError Leave code of RunL method.
       
    69      * @return KErrNone
       
    70      */
       
    71     TInt RunError( TInt aError );
       
    72 
       
    73     /**
       
    74      * Active object's DoCancel.
       
    75      */
    63     void DoCancel();
    76     void DoCancel();
    64 
    77 
    65 private:
    78 private:
    66 
    79 
    67     CMpmCsIdWatcher();
    80     CMpmCsIdWatcher();