locationmanager/client/inc/CTrackLogObserverAO.h
changeset 0 c53acadfccc6
equal deleted inserted replaced
-1:000000000000 0:c53acadfccc6
       
     1 /*
       
     2 * Copyright (c) 2009 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 #ifndef CTRACKLOGOBSERVERAO_H_
       
    18 #define CTRACKLOGOBSERVERAO_H_
       
    19 
       
    20 #include <e32base.h>
       
    21 #include "rtracklog.h"
       
    22 
       
    23 NONSHARABLE_CLASS( CTrackLogObserverAO ) : public CActive
       
    24 {
       
    25 public:
       
    26 	/**
       
    27 	 * C++ constructor.
       
    28 	 */
       
    29 	CTrackLogObserverAO( RTrackLog* aClient );
       
    30 	virtual ~CTrackLogObserverAO();
       
    31 	
       
    32 private: // From CActive
       
    33 	void DoCancel();
       
    34 	void RunL();
       
    35 	
       
    36 public:
       
    37 	TInt StartObserving();
       
    38 	
       
    39 private:	
       
    40 	/**
       
    41     * 2nd phase constructor.
       
    42     */
       
    43     void ConstructL( RTrackLog* aClient );
       
    44     
       
    45 private: // Data
       
    46 	RTrackLog* iClient;
       
    47 };
       
    48 
       
    49 #endif /*CTRACKLOGOBSERVERAO_H_*/
       
    50