ncdengine/engine/inc/catalogsconnectionobserver.h
changeset 4 32704c33136d
equal deleted inserted replaced
-1:000000000000 4:32704c33136d
       
     1 /*
       
     2 * Copyright (c) 2006 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:  
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef C_CATALOGSCONNECTIONOBSERVER_H
       
    20 #define C_CATALOGSCONNECTIONOBSERVER_H
       
    21 
       
    22 #include <e32base.h>
       
    23 #include <e32property.h>
       
    24 
       
    25 class MCatalogsEngineObserver;
       
    26 
       
    27 class CCatalogsConnectionObserver : public CActive
       
    28     {
       
    29 public:
       
    30     static CCatalogsConnectionObserver* NewL( MCatalogsEngineObserver& aObserver );
       
    31 
       
    32     ~CCatalogsConnectionObserver();
       
    33 
       
    34 protected: // from CActive
       
    35     void RunL();
       
    36     
       
    37     void DoCancel();
       
    38     
       
    39 private:
       
    40     CCatalogsConnectionObserver( MCatalogsEngineObserver& aObserver );
       
    41 
       
    42     void ConstructL();
       
    43 
       
    44 private:
       
    45     RProperty iConnectionEventProperty;
       
    46     MCatalogsEngineObserver& iObserver;
       
    47     };
       
    48 
       
    49 #endif // C_CATALOGSCONNECTIONOBSERVER_H
       
    50